Original Post
🔒 Locked
PASCAL convention?
Advertisement
PASCAL in the Win32 environment means __stdcall which is slightly more efficent in the way it passes parameters. Most of the time it really doesn''t matter - and when it does you generally don''t have a choice of which calling convention to use. You have to use the correct one or it doesn''t work.
IIRC, you''re supposed to use __stdcall for dll functions. And nearly all of the Win32 functions and callbacks are __stdcall''s.
There''s a project setting to make __stdcall the default convention if you want to try it.
Magmai Kai Holmlor
"Oh, like you''ve never written buggy code" - Lee
"What I see is a system that _could do anything - but currently does nothing !" - Anonymous CEO
IIRC, you''re supposed to use __stdcall for dll functions. And nearly all of the Win32 functions and callbacks are __stdcall''s.
There''s a project setting to make __stdcall the default convention if you want to try it.
Magmai Kai Holmlor
"Oh, like you''ve never written buggy code" - Lee
"What I see is a system that _could do anything - but currently does nothing !" - Anonymous CEO
Topic Locked
This topic has been locked by a moderator. New replies are not allowed.
Sign in to reply to this topic.
Advertisement