Registriert seit: 3. Sep 2004
4.629 Beiträge
Delphi 10.2 Tokyo Starter
|
AW: Delphi C++ Dll
28. Jan 2019, 09:22
size_t is a plaform and architecture specific type ... using UInt32 might not be correct e.g. for 64-bit. The real problem is this part tho: GetMem(LUserEntity, pCount);
It has to be GetMem(LUserEntity, pCount * SizeOf(UserEntity));
Geändert von Zacherl (28. Jan 2019 um 09:26 Uhr)
|