View Single Post
  #3 (permalink)  
Old July 18th, 2007, 02:44 PM
Dan6 Dan6 is offline
Authorized User
Join Date: Feb 2007
Location: , , United Kingdom.
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts

Hi Brian,

If you've had a go at Ex11_01 you'll probably have the code available inside Visual Studio. If you right-click on WINAPI and select 'Go to definition' it will bring up 'windef.h'.

In here you can see that if you are compiling on a Windows system, as opposed to a Mac or something else, WINAPI is defined as '__stdcall'. Directly above it you can see that CALLBACK is defined as exactly the same thing.

So it shouldn't make any difference to the compilation process. If you're supposed to use one or the other for code readability purposes I couldn't tell you.

Hope this is helpful.