Hi,
I'm hoping there are some Delphi developers out there who have migrated to C#, 
and I have a problem with what at first looked like an easy task...

I need Delphi (5) to be able to use a function from a simple C# (Visual Studio 
2010 written) DLL.  I will be owner of  the C# & Delphi code so the function 
name / parameters are controlled by me.

Just to get an idea of what is involved, could anyone provide me with the 
code/step by step instructions on how to do this (in both C# & Delphi).
The function within the DLL will be an easy one - AddStrs(string1,string2): 
string; - e.g. pass in 2 strings, and the function returns the concatenated 
string

I hope I've explained this correctly, I've done some searching and my head is 
spinning with stuff like Managed & unmanaged code, COM Interop etc. etc.
Just need a simple example and once I understand that I'll be able to build the 
DLL further.

Thanks in advance

Regards,
Steve Bowker

_______________________________________________
Delphi mailing list
Delphi@elists.org
http://lists.elists.org/cgi-bin/mailman/listinfo/delphi

Reply via email to