When is 4 gig not 4 gig?

Interesting problem came up last week.  Let’s say you compile the following code with VC++ targeting 32-bit: void *__ptr64 a;void * b = (void*)0xFFFFFFFF;a = b; Care to guess what the final value of a is?  Conventional wisdom might dictate that the value should be 0x00000000FFFFFFFF.  After all, a pointer is an unsigned entity, and a…


Everyone’s a rifleman

My military career was exceedingly short and undistinguished.  I spent a month in US Marine Corps boot camp before they sent me home because of a preexisting medical condition.  As an organization, the Marine Corps has a well deserved reputation for being highly motivated, having exceptional esprit de corps, and being extremely effective in accomplishing…


My brain’s soundtrack

My wife blogged today about those annoying little jingles or songs that get stuck in your head, and it got me to thinking…. it’s not getting individual tunes stuck in my head that bugs me so much as the fact that I have this constant soundtrack playing in my head.  You see, at the risk of oversharing, I have…


VC++ 2005 optimizations in the real world

I thought I’d share this direct feedback from a customer that attended a recent VC++ 2005 dev lab: I’m delighted to let you know that my C++ application has been sucessfully compiled, linked (for 64 bit Itanium) with Visual C++ 8 (Visual Studio 2005 Release Candidate) on a 32 bit Windows XP, and runs on…


Silicon Valley Dev Lab (and it’s nice to be home)

I finally completed what turned out to be a busy few weeks meeting and working with VC++ customers.  First there was the trip to LA for PDC05, with lots of customer meetings.  Then back to Seattle for a week.  Then off to Washington, DC for a few days for a VC++ 2005 dev lab.  Then…


I love the smell of hyperbole in the morning

Keyboards are wagging in the press over the recent joint announcement between Google and Sun that they’ll be working together.  The exact terms of the deal were undisclosed, but the meat of the announcement seems to be that the Google toolbar will be bundled with the Java runtime download and that they’re interested in working…


Welcome, Chad

Chad Hower, a fellow former Delphi community guy, has recently joined Microsoft as a .NET Developer Advisor for the Middle East/Asian region.  Welcome, Chad! Don’t forget to evangelize C++/CLI too!  🙂