Windows Calling Conventions

I found an excellent webpage about Win32 calling conventions when I had the pleasure of writing a C++ Apache 2 module. If you’re a UNIX guy who’s learning to deal with anything that involves both C and C++ on Windows, and you’re getting stack dumps which just does not make sense, it could be a calling convention problem. If you don’t think that’s too bad, just wait until you have to write typedefs and use type casts which involve calling conventions! (C’s typedef syntax seriously needs a kick in the nuts.)

blog comments powered by Disqus