Re: [fpc-pascal] cdecl or stdcall on WinCE for ARM

2007-11-23 Thread Adrian Veith
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 a

Re: [fpc-pascal] cdecl or stdcall on WinCE for ARM

2007-11-23 Thread Florian Klaempfl
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

Re: [fpc-pascal] cdecl or stdcall on WinCE for ARM

2007-11-23 Thread Henry Vermaak
On 23/11/2007, Adrian Veith <[EMAIL PROTECTED]> wrote: > 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

[fpc-pascal] cdecl or stdcall on WinCE for ARM

2007-11-23 Thread Adrian Veith
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 cr