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
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