469,299 Members | 2,073 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,299 developers. It's quick & easy.

Instance EnvDTE.DTE

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
0 4476

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Richard | last post: by
2 posts views Thread by Christina Androne | last post: by
3 posts views Thread by Allen Anderson | last post: by
1 post views Thread by Gerard Yin | last post: by
2 posts views Thread by GS | last post: by
13 posts views Thread by miztaken | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by suresh191 | last post: by
1 post views Thread by Geralt96 | last post: by
reply views Thread by harlem98 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.