Delphi DLL function calling from VB.net and C#.net paramters compatibility
-
Hi All, I have created one DLL having some functions as follows.. I want to call them from VB.net and C#.net.
-
Function CONVERTPWDATA ( PASS1,PASS2 : INTEGER; IpStr : PWord; OpStr : PChar;
LangName : LongInt; AFontType, BFontType : LongInt ) : PChar; StdCall;export; -
Function CONVERTDATAEX ( PASS1,PASS2 : INTEGER; IpStr : PChar; OpStr : PWord;
LangName : LongInt; AFontType, BFontType : LongInt ) : PChar; StdCall;export;
Can anyone help me for Compatible Data types in .net for Delphi Data Types. My Second Question IS
**How to pass Unicode Data from .net and How to receive it back from Delphi DLL.**
Thanks in Advance..I have never failed,I just found 1000 ways that never works. Regards, Victory.
-
-
Hi All, I have created one DLL having some functions as follows.. I want to call them from VB.net and C#.net.
-
Function CONVERTPWDATA ( PASS1,PASS2 : INTEGER; IpStr : PWord; OpStr : PChar;
LangName : LongInt; AFontType, BFontType : LongInt ) : PChar; StdCall;export; -
Function CONVERTDATAEX ( PASS1,PASS2 : INTEGER; IpStr : PChar; OpStr : PWord;
LangName : LongInt; AFontType, BFontType : LongInt ) : PChar; StdCall;export;
Can anyone help me for Compatible Data types in .net for Delphi Data Types. My Second Question IS
**How to pass Unicode Data from .net and How to receive it back from Delphi DLL.**
Thanks in Advance..I have never failed,I just found 1000 ways that never works. Regards, Victory.
Here is a site I used when doing the same thing. Everything worked perfect for me. http://www.netcoole.com/delphi2cs/datatype.htm In regards to your Unicode question, I'm have no experience, so I can't comment. Hope the chart helps.
-