Using DLL library in application
-
Hai, I have a DLL that created using Delphi. My question is : 1. Can I use that DLL in my C# application? 2. If I can use that DLL, how can I determine the function inside the DLL and th parameters needed for the callback? P.S : no techincal information or documentation available about the DLL. thankz
Newbie.. Newbie.. Newbie.. Newbie.. Newbie..
-
Hai, I have a DLL that created using Delphi. My question is : 1. Can I use that DLL in my C# application? 2. If I can use that DLL, how can I determine the function inside the DLL and th parameters needed for the callback? P.S : no techincal information or documentation available about the DLL. thankz
Newbie.. Newbie.. Newbie.. Newbie.. Newbie..
Hi! Probably you can use functions from the DLL in your C# app using p/invoke, but in order to give the correct function prototypes, you have to know which functions are in there and which parameters they expect. Some of this information (at least which functions exist) can be retrieved by looking at the DLL using Dependency Walker (part of the platform SDK IIRC).
Regards, mav -- Black holes are the places where God divided by 0...