Hello! pdietrich@synstar.de wrote:
the WIN32 API uses the stdcall calling convention, i.e. the stack pointer is adjusted by the called routine on return. This is not supported by GNU Pascal. [...]
It is supported by GNU Pascal: Unit Bar; Interface Procedure Bar; attribute ( stdcall ); Implementation Procedure Bar; begin (* Bar *) (* ... *) end (* Bar *); end. Hope this helps, Peter (BTW, the GPC mailing list is has moved from <gpc@hut.fi> to <gpc@gnu.de> some weeks ago.) -- Peter Gerwinski, Essen, Germany, http://home.pages.de/~Peter.Gerwinski/ Maintainer GNU Pascal - http://home.pages.de/~GNU-Pascal/ - gpc-19990118 PGP key on request - 6C 94 45 BE 28 A4 96 - 0E CC E9 12 47 25 82 75 *** Vote against SPAM! ********* http://www.politik-digital.de/spam/ ***