Receiving a PCHAR from Delphi DLL in VB.NET

Dyrved

New member
Joined
Jun 3, 2005
Messages
1
Programming Experience
3-5
I have a DLL written in Delphi which returns a PChar.
I have tried to use "System.Runtime.InteropServices.Marshal.PtrToStringAnsi" to
convert the pointer to a VB string but no luck. Does anyone have some ide for this. I know that in Delphi they use the command StrPas to do this task.

regards
Dyrved
 
Back
Top