By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,213 Members | 1,086 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,213 IT Pros & Developers. It's quick & easy.

Instance EnvDTE.DTE

P: n/a
This code is in MSDN as example for attach to active instance EnvDTE.DTE.
(example in C#)
EnvDTE.DTE myDTE = (EnvDTE.DTE)
System.Runtime.Interopservices.Marshal.GetActiveOb ject("VisualStudio.DTE");

I run application and my VS.NET 2002 advise error in casting. Why ?

Thanks for help.
Jin.H.

Nov 15 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.