Am 11.02.2014 00:53, schrieb Fred van Stappen:
I have changed all  cdecl  into stdcall but without luck...
Did you change the calling convention for both the import and the export code? (just a sidenote: on Linux you should use cdecl no matter what if you want your library to be used by other languages and preferably stdcall on Windows (makes a difference only on i386 as for ARM and x86_64 (and other CPUs) stdcall maps to cdecl))
Does the fpc-32 bit libraries work only on a Windows-32bit system (or did i do something wrong ?)
Will it be the same for Linux-32bit (inside a multi-arch 64bit system) ?
Without some code it's hard to tell what the problem might be. Normally it should work, so likely there's a problem in your code that only manifests on Win32 or there is (less likely) a bug in the compiler/RTL. So if you could minimize your code as much as possible and test then, this would be favorable.

Regards,
Sven
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to