舰队金刚h本子:Visual Studio 2005创建VC++智能设备项目失败的解决方法 - lili ...

来源:百度文库 编辑:九乡新闻网 时间:2024/04/28 10:58:23

Visual Studio 2005创建VC++智能设备项目失败的解决方法

2008/07/07 09:17   [C# ]

Visual Studio 2005创建VC++智能设备项目失败的解决方法

If you've tried to create a smart device Win32 project on Windows Vista or after installing IE7, you might have seen a failure with a message in the status bar saying "project creation failed". It's a known issue, and has been fixed in SP1, but if you can't install that, there's a workaround:
1. Close VS
2. Start RegEdit.exe
3. Find the following registry entry:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Ext\PreApproved
4. Add a new entry and name it
{D245F352-3F45-4516-B1E6-04608DA126CC}
5. Close RegEdit
6. Start VS
7. Try to create a Smart Device C++ project
Thanks to Gangadhar on the VC++ for Devices team for the writeup, and Chris for posing the question on the Device MVPs discussion list.