Visual Studio 2005 C++ Project Creation Failed

Posted by on October 23, 2007

I recently was assigned the task of creating a pocket pc service using visual c++ and was going to attempt to use Visual Studio 2005 to do this.  I opened up the IDE and clicked on "New Project" and then selected c++ smart device application.  To my dismay, the IDE got upset and said it could not create the project.  I was baffled.  I tried doing a repair on Visual Studio and that didn’t help.  After searching online for a while I finally stumbled across this blog on msdn http://blogs.msdn.com/vsdteam/ that has an excerpt about Visual Studio 2005 and Vista having problems creating native c++ apps.  The fix, which is in the article, explains how it is a bug with visual studio not getting along with IE7 (which I have installed).  With one simple registry modification I was able to fix the problem.  The blog states that the fix is in Visual Studio 2005 SP1 but until you install that, this registry hack fixes the problem.

Here is the fix.

Open the registry entry:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Ext\PreApproved

Add a new entry and name it {D245F352-3F45-4516-B1E6-04608DA126CC}

(this was originally posted on my original blog on9/13/2006)

Comments

Comments are closed.