1.7. Bugs in the 32-Bit API

Occasionally you will write a new Windows program, and it simply will not work the way you expect it to work. You will write the program and run it, and it will crash. You will look at the code and diddle with it a little bit, and the problem will remain. After 15 minutes, your response to this improbability is going to be, "Wow, I found a bug in the 32-bit API. I can't believe that they don't test this stuff more carefully." At dinner that night you will rail at your spouse about the inept programmers at Microsoft.

That is the natural human reaction. However, I'd say that in 99.9% of cases, the problem lies in your code rather than in the API. In many cases, the problem lies in your perception of how you think the ...

Get Win32 System Services: The Heart of Windows® 98 and Windows® 2000 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.