Registriert seit: 11. Okt 2003
Ort: Elbflorenz
44.184 Beiträge
Delphi 12 Athens
|
AW: Problem with DLL in Delphi
21. Aug 2014, 16:25
Code:
int __declspec(dllexport) __stdcall DIE_scanA (char *pszFileName, char *pszOutBuffer, int nOutBufferSize, unsigned int nFlags);
int __declspec(dllexport) __stdcall DIE_scanW (wchar_t *pwszFileName, char *pszOutBuffer, int nOutBufferSize, unsigned int nFlags);
int __declspec(dllexport) __stdcall DIE_scanExA(char *pszFileName, char *pszOutBuffer, int nOutBufferSize, unsigned int nFlags, char *pszDataBase);
int __declspec(dllexport) __stdcall DIE_scanExW(wchar_t *pwszFileName, char *pszOutBuffer, int nOutBufferSize, unsigned int nFlags, wchar_t *pwszDataBase);
The output buffer is always AnsiChar,
but that still does not explain the error message.
$2B or not $2B
|
|
Zitat
|