[Openroad-users] Calling a c# DLL
Antill, Jim
jantill at revenue.ie
Tue May 8 18:32:35 EST 2007
Paul,
You might find this look useful:
http://www.c-sharpcorner.com/UploadFile/dsandor/ActiveXInNet11102005040748AM/
ActiveXInNet.aspx
Myself and Dominic Merrin looked into calling a control written in VB.net
which I believe Dominic got to work. The main problem I recall was exposing
the interface to the VB.net control so that OR could see it. I've probably
got the mails here somewhere. If you want a look I'll dig them out.
Hope that helps,
Jim
-----Original Message-----
From: openroad-users-bounces at peerlessit.com
[mailto:openroad-users-bounces at peerlessit.com]On Behalf Of Paul White
Sent: 08 May 2007 04:30
To: International OpenROAD Users
Subject: Re: [Openroad-users] Calling a c# DLL
*************************************
This e-mail has been received by the Revenue Internet e-mail service. (IP)
*************************************
It sounds like it will be easier to do it using activeX. I'll investigate a
bit further. thanks.
_____
From: openroad-users-bounces at peerlessit.com
[mailto:openroad-users-bounces at peerlessit.com] On Behalf Of Fabian Anderson
Sent: Tuesday, 8 May 2007 1:20 PM
To: International OpenROAD Users
Subject: Re: [Openroad-users] Calling a c# DLL
Hi Paul,
I am not aware that OpenROAD runs on the .NET platform as opposed
to the Win32 platform. However, if you really must call "managed" code, you
can use C++.NET to create what is called a mixed assembly.
If you don't like C++ and must use C#, then a proxy written in
C++ to your C# .NET assembly will help. C++.NET is the only .NET language
capable of producing native Win32 code.
Regards,
Fabian Anderson
Systems Analyst
Fintechnix Pty Ltd
_____
From: openroad-users-bounces at peerlessit.com
[mailto:openroad-users-bounces at peerlessit.com] On Behalf Of Paul White
Sent: Tuesday, 8 May 2007 13:08
To: International OpenROAD Users
Subject: [Openroad-users] Calling a c# DLL
Hello,
Does anyone have a simple example of calling a C# .net function from
OpenROAD?
I've had past success with MS Visual C++. OpenROAD needed the WINAPI
DLLMain section as per the sample 3gl in order to see the function.
We're struggling trying to find the correct syntax.
Paul
Peerless IT Pty Ltd
21 Evans Street,
Braybrook VIC 3019
Phone : 03 9214 7777
Mobile : 0414 681 799
Fax : 03 9318 5870
Internet :
<file:///U:\Documents%20and%20Settings\pwhite\Application%20Data\Microsoft\Si
gnatures\www.peerlessit.com.au> www.peerlessit.com.au
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
Specialist providers of back and front office systems for the financial
services industry.
Featuring: Fintechnix(r)
Disclaimer:
Notice: This message contains privileged and confidential information
intended only for the use of the addressee named above. If you are not the
intended recipient of this message you are hereby notified that you must not
disseminate, copy or take any action in reliance on it.
Any views expressed in this message are those of the individual sender,except
where the sender specifically states them to be the views of Fintechnix Pty
Ltd.
************************
This message has been delivered to the Internet by the Revenue Internet e-mail service (OP)
*************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://peerlessit.com/pipermail/openroad-users/attachments/20070508/62ab4628/attachment-0001.html
More information about the Openroad-users
mailing list