Problems picking proper type when calling DLL
Posted on 2000-04-11
I'm calling a C++Builder DLL from Delphi. The function I'm calling returns a value of type 'char*'. In the import unit I made in Delphi, I have the type as 'PChar'. When I run the Delphi executable, I get an access error.
I modified the import unit so that the type is 'string' and ran it again. This time no access error, but nothing returns.