Maybe someone here can help with this. Thanks in advance.
Maybe someone here can help with this. Thanks in advance.
http://stackoverflow.com/questions/17176428/dll-call-works-in-delphi-2010-but-av-in-delphi-xe2
http://stackoverflow.com/questions/17176428/dll-call-works-in-delphi-2010-but-av-in-delphi-xe2
PChar -> PAnsiChar?
ReplyDeleteNándor Kiss same problem. And it works fine in Delphi 2010 with PChar.
ReplyDeleteSimon Stuart unfortunately it's an unsupported DLL, not mine. But Nándor Kiss is indeed correct, so the problem is somewhere else, thanks.
ReplyDeletePchar (string(v2))
ReplyDeleteIf the dll getvthe pchar (unicode)
ReplyDeleteActally PAnsiChar(V2) should work.
ReplyDelete