G
Guest
Hi,
If I make a DLL in Delphi (5..7, so not NET) to manipulate strings, then I
assume I have to do something like this:
[DllImport("test.dll")]
public static extern TestProc(String C);
and in the Delphi DLL:
procedure TestProc(C: PChar); stdcall;
I think so because I have made such P/Invoke things for Win32 API whitch
also accept a pointer to null terminated data and are fine working.
This also mean I can modify the data of C safely in my DLL ?
All advice is very welcome, I'm still a newbe for dotnet
If I make a DLL in Delphi (5..7, so not NET) to manipulate strings, then I
assume I have to do something like this:
[DllImport("test.dll")]
public static extern TestProc(String C);
and in the Delphi DLL:
procedure TestProc(C: PChar); stdcall;
I think so because I have made such P/Invoke things for Win32 API whitch
also accept a pointer to null terminated data and are fine working.
This also mean I can modify the data of C safely in my DLL ?
All advice is very welcome, I'm still a newbe for dotnet
