Page 1 of 1

Implement DLL into C#

PostPosted: April 12th, 2013, 7:20 am
by dvdan
Good morning.
I'm desperate.
I've to program an exe that work with an cf7900 producted by mei.
They give me an example application and the source code written in c#.
I don0t know ho to translate this code into delphi code.
could someone implement the attached dlls into a delphi code.
I'm very grateful if someone will help me.

Re: Implement DLL into C#

PostPosted: April 15th, 2013, 4:15 pm
by Kambiz
The attachment contains .net assemblies, but the source code is required for porting the code to another language.

Re: Implement DLL into C#

PostPosted: May 8th, 2013, 9:26 pm
by dejavu.cucud
dvdan wrote:Good morning.
I'm desperate.
I've to program an exe that work with an cf7900 producted by mei.
They give me an example application and the source code written in c#.
I don0t know ho to translate this code into delphi code.
could someone implement the attached dlls into a delphi code.
I'm very grateful if someone will help me.


it has to be registered using regasm (.net framework tool). by using the /tlb argument to produce and register a type library for the cf7900.dll assembly, which can be imported and used in Delphi.

regasm /tlb cf7900.dll