On 09/13/2014 12:59 AM, Dennis Poon wrote:
I am trying to use an external C++ dll
Usually you can't use (pure) C++ DLLs. DLLS need to have a "flat" (ANSI
C) interface using standard data types and calling conventions.
I suppose with x86/64 the return value in fact is 8 bytes in a single
register.
AFAIK, with X86/32 there is no single register with 8 bytes.
-Michael
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal