Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / Managed C++ / March 2006

Tip: Looking for answers? Try searching our database.

Compiling NET 1.1 on VS 2005

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Gary Nastrasio - 06 Mar 2006 17:24 GMT
I have a .NET 1.1 project that I'd like to compile on Visual Studio 2005
Pro.  In VS2003 I created a form and dragged the WebBrowser control onto
it.  This created the following code:

    private: AxInterop::SHDocVw::AxWebBrowser *  axWebBrowser;

Now, when I compile in VS2005, with the /clr:oldSyntax switch this error
is coming up:

FrmWebBrowser.h(39) : error C2653: 'AxInterop' : is not a class or
namespace name

Is there a simple way to get this working again?  I can't convert the
whole project to .NET 2.0 right now because it's used in a production
environment and it's a large project... I just don't have the time to do
it.  :(

Thanks!

Gary
Carl Daniel [VC++ MVP] - 06 Mar 2006 19:45 GMT
>I have a .NET 1.1 project that I'd like to compile on Visual Studio 2005
>Pro.  In VS2003 I created a form and dragged the WebBrowser control onto
[quoted text clipped - 12 lines]
> environment and it's a large project... I just don't have the time to do
> it.  :(

Your best bet by far is to (re)-install Visual Studio 2003 - it can coexist
with 2005 with no problems (although I have to add, I've never installed
2003 after 2005, so I wouldn't be shocked if a repair-install of 2005 after
installing 2003 was necessary).

There are some hacks out on the net to target the 1.1 runtime from within
2005, but I have a suspicion that they wouldn't help your particular
problem - I think you need the 2003 compiler (unfortunately, /clr:oldSyntax
is not 100% compatible with 2003 - it should be, but it's not.  And please
don't ask for particulars as I don't know them - I just know that a variety
of incompatibilities have come up on the newsgroups in the last 6-12
months).

-cd

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.