[fpc-pascal] return 8 byte of return as function result via register

Sven Barth pascaldragon at googlemail.com
Sat Sep 13 09:38:32 CEST 2014


Am 13.09.2014 01:00 schrieb "Dennis Poon" <dennis at avidsoft.com.hk>:
>
> I am trying to use an external C++ dll and also privide call back
functions to this dll to call back.
> However, the dll requires my functions to return 8 byte of 'struct' via
register and the dll author said it is not possible with Delphi.
> Is that possible with fpc?

How does the prototype of the fallback look like in C++?

Regards,
Sven
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20140913/168c4059/attachment.html>


More information about the fpc-pascal mailing list