VC++ 2005: IDE Tips and Tricks
- Posted: Jul 07, 2006 at 5:37 PM
- 40,769 Views
- 13 Comments
Download
How do I download the videos?
- To download, right click the file type you would like and pick “Save target as…” or “Save link as…”
Why should I download videos from Channel9?
- It's an easy way to save the videos you like locally.
- You can save the videos in order to watch them offline.
- If all you want is to hear the audio, you can download the MP3!
Which version should I choose?
- If you want to view the video on your PC, Xbox or Media Center, download the High Quality WMV file (this is the highest quality version we have available).
- If you'd like a lower bitrate version, to reduce the download time or cost, then choose the Medium Quality WMV file.
- If you have a Zune, WP7, iPhone, iPad, or iPod device, choose the low or medium MP4 file.
- If you just want to hear the audio of the video, choose the MP3 file.
Right click “Save as…”
- Mid Quality WMV (Lo-band, Mobile)
- WMV (WMV Video)
We discuss many of the new features of VC++ 2005 as they relate to the IDE and in general(debugging enhnacements, semantic additions that make it easier to write managed C++, etc).
C++ developers will be excited about many of the improvements in VC++ 2005, many of which, of course, were derived explicitly from user feedback...
Comments Closed
Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation,
please create a new thread in our Forums,
or
Contact Us and let us know.
Follow the Discussion
You guys should put up some kind of cheat sheet with the most usefull keyboard commands somewhere.
Wonderful interview. VERY interesting stuff here guys. I really learnt a trick or two.
If a VS VC++ team member drops by this thread, I would like to know if there is any information, good or bad, about support for VC++ being added to the VS Class Designer (as supported for C#, VB.net etc).
Sounds like a great use of the C9 Wiki.
ILoveJackDaniels.com is developing a VB.NET cheat-sheet. Their previous sheets are excellent.
Maybe the next interview should be eye-level
Other than that, this is an awesome interview.
justAnExample would only select Example and the next tab on the left key would select AnExample. It's also useful with ctrl+backspace as I hardly ever use the backspace one single time, it's usually quicker to delete the entire word and retype it
Trackerball, I was definitely not trying to skirt the issue, it's more that I was not always expecting those questions
The short answer to your question is this:
- a managed class (ref class A {}) can only hold pointers to native types
- a native class (class B {}) can not hold a managed handle directly, instead you should use gcroot<T> as follows:
#include <vcclr.h>
using namespace System;
class B {
public:
gcroot<String^> str; // can use str as if it were String^
B() {}
};
int main() {
B b;
b.str = gcnew String("hello");
Console::WriteLine( b.str ); // no cast required
}
I hope that answers the question. If you want to learn more, I gave a talk about interop at Tech-Ed and I have some posts about it over at http://blogs.msdn.com/borisj.
-- Boris
Just hit Windows Key + D to peek, and again to continue coding. In less than a week I had learnt many of them.
Chances are you also use VC#, so here's my two bits:
http://users.telenet.be/stefaan.meeuws/mykeysquickref2.htm
Stefaan
Remove this comment
Remove this thread
close