Logical comparison of a DWORD and #define 0xXXXXXXXX

Started by
12 comments, last by L. Spiro 11 years, 3 months ago
Also make sure you're not trying to debug a release build. That's a classic symptom of the debugger getting confused because of low-level optimizations.

Wielder of the Sacred Wands
[Work - ArenaNet] [Epoch Language] [Scribblings]

Advertisement

Multithreading is an extremely advanced topic. Make sure you first understand how STL template library works, how debugging applies to Debug & Release modes.

Also look for naming conventions. CamelCase is commonly used for functions (and sometimes variables, sometimes theyStartWithLowerCase but still camel case) and ALL_CAPS for macro definitions.

But mixing CamelCase with CamelCase_undercored_spaces is very weird and will confuse/annoy most coworkers you will encounter throughout your life.

Ok, so I cleaned the solution and rebuilt everything again. And now it works. But that is strange because I already tried that several times. Why would that work on the 7th time....

Because you rebuilt everything. Meaning you updated object files that may not have been properly updated when they should have been.

Now every object file is “on the same page”.

L. Spiro

I restore Nintendo 64 video-game OST’s into HD! https://www.youtube.com/channel/UCCtX_wedtZ5BoyQBXEhnVZw/playlists?view=1&sort=lad&flow=grid

This topic is closed to new replies.

Advertisement