Wednesday, March 21, 2007

Design Rationale for C++/CLI

C++ at work - Rationales, Highlights and a Farewell. I found this extremely interesting.

For a complete reference on C++/CLI design rationale, read the paper "A Design Rationale for C++/CLI" by Herb Sutter. Here is one of the places where you could find it : http://www.gotw.ca/publications/C++CLIRationale.pdf.

Wednesday, March 7, 2007

Project Creation failed... IE7 and Visual Studio 2005 Smart Device Client

I had a problem creating Native C++ Smart Device project using Visual Studio 2005. I had no clue that IE7 could be the culprit. I had created similar projects earlier, but that was before I installed IE7.
Then I googled... as usual and came across this. I did just this and it works now...
------------------------------------------------------------------------------------
THIS HELPED ME:
FROM http://icodemonkey.spaces.live.com/
Project Creation failed.
After installing IE7 Beta 2 I've had a problem creating smart device projects in C++. I kept getting an error "...project creation failed". I looked everywhere but the only answer I found was "uninstall IE7". I REALLY like IE7 and didn't want to have to do that. After more searching I finally found an answer.

This involves modifying the registry so do at you own risk.
Close VS
Start RegEdit.exe
Find the following registry entry:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Ext\PreApproved
Add a new entry and name it {D245F352-3F45-4516-B1E6-04608DA126CC}
Close RegEdit
Start VS
Try and create a Smart Device C++ project
I didn't have the problem they mention about the platform lists not being filled out. So now I'm happy. IE7 and Native Smartdevice apps. :)
----------------------------------------------------------------------------------------