Florian Klaempfl schrieb:
Adrian Veith schrieb:
Hi,
what is the right calling convention for using system libraries on wince
for ARM ?
I wrote a pascal wrapper for a system dll and used stdcall for the
calling convention - and the program worked.
I changed to cdecl - and the program works as well.
In my opinion the program should have crashed on one of the two.
Now I am puzzled.
Both are equal on arm, you could even use register and things won't change.
I have guessed something like that - otherwise it would be impossible.
Thanks,
Adrian.
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal