The video builds in a simple C# assembly from a class library project in C# express edition and holding a form with a date time picker control. Another console application developed using Visual C++ express edition, makes use of #import and tries to call the form. The only difference in my case is, I am using Visual Studio instead of 2 different express versions, I am using VS 2008 professional edition. I have typed in the entire code. I am also able to build both the projects successfully and run the console application. However, I cannot get to show the form for the date picker control and an exception occurs. I removed the exception by registering the .tlb again and then following all the remedial steps from the video. But, the problem I faced was weird. The console window just shows a cursor without doing anything further. On stopping the execution, the console window did not close. I tried to stop debugging and close it but it did not close. Even after I tried to close it from the task manager, nothing happened and it remained open. Finally I had to restart the computer to get rid of the open console window.
I am attaching the project with this post. Please let me know what would be the issue...at least please some one download my code and run on their machine and let me know if it works.
Thanks,
Bhushan
* The Best Reasons to Target Windows 8
Learn some of the best reasons why you should seriously consider bringing your Android mobile development expertise to bear on the Windows 8 platform.