On 12/02/15 00:42, Marc Santhoff wrote:
> Some data points:
> fpc 2.6.2 x86_64
Always use the latest FPC release, in this case 2.6.4. I think even some
x86-64 calling convention issues were fixed between 2.6.2 and 2.6.4.
Jonas
___
fpc-pascal maillist
On Do, 2015-02-12 at 09:03 +, Tony Whyman wrote:
> Marc,
>
> If your running on a *nix system then you probably want "cdecl" rather
> than "stdcall"
Err ... you're right and it is cdecl. I have mixed it up because it is
an $if_n_def ...:
...;{$ifndef Win32}cdecl{$else}stdcall{$endif};externa
Marc,
If your running on a *nix system then you probably want "cdecl" rather
than "stdcall"
Regards
Tony Whyman
MWA
On 12/02/15 04:54, Marc Santhoff wrote:
> On Do, 2015-02-12 at 00:42 +0100, Marc Santhoff wrote:
>> Hi,
>>
>> when I try to run a program that dynamically links an external .so
>>
Marc,
If your running on a *nix system then you probably want "cdecl" rather
than "stdcall"
Regards
Tony Whyman
MWA
On 12/02/15 04:54, Marc Santhoff wrote:
> On Do, 2015-02-12 at 00:42 +0100, Marc Santhoff wrote:
>> Hi,
>>
>> when I try to run a program that dynamically links an external .so
>>