VMR9

Right now I’m dealing with some code of mine that isn’t working on a Microsoft product. I got a webcam, a Microsoft Life Cam VX1000, that doesn’t want to work with DirectX. It’s weird. A Microsoft product that doesn’t want to work with a Microsoft SDK. I see on the web though that there are … Read more

What’s wrong with this code?

I love reading code like this: int IAmGoingToReturnAnInt ( int* gimmeSomeData ) { int munchMunch = *gimmeSomeData; ++munchMunch; // Developer note: FU } Okay, the last developer note doesn’t really exist, but you would think that this function would return an integer. I mean, come on! Give me something!

Surprise!

I actually implemented a large if, else if statement on the Mac with no problems. Go to compile that same code in Visual C++ 2008 and…. BANG! VC doesn’t play that! Apparently, there is a limit as to how many control statements you can have. Go figure 🙁

Making sense of CrashReporter…

So, if I have a CrashReporter dump for a release application I am trying to troubleshoot, I found the following page very helpful: http://developer.apple.com/tools/xcode/symbolizingcrashdumps.html Essentially, I can take the crash report and find out what line of code the error occurred at. But, you have to have the source code in order to do this … Read more