|
|
|
|
|
by Rannath
3626 days ago
|
|
I was recently doing some win32 coding, getting an odd access violation that hits JUST before winmain/main exits, only on x64 and only in Release mode. I deleted/un-deleted nearly every bit of code to find my problem. Turns out I had the wrong string going into UnRegisterClass on my window handling class. Took me ~4 hours to find the bug and all of 10 seconds to fix it. Always double & triple check when copying & pasting. Now I'm using SDL, since it's just a little hobbyist game. :) Also don't reinvent the wheel. Especially if someone else is offering free wheels. |
|