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 / Visual Studio.NET / General / April 2007

Tip: Looking for answers? Try searching our database.

VS 2005 C++ support and Vista

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
gordon.is.a.moron@gmail.com - 27 Mar 2007 01:14 GMT
Hello, I've just acquired a new PC with Vista. I was considering
installing VS C++
2005 to do some native non-NET code. My basic query is, will native C+
+ code
developed on Vista still be backwards compatible with 98/XP (or at
least without
massive changes) and is the support in 2005 for C++ as good as 2003? I
notice
that VS  C++ Express only seems to support console native C++ apps,
whereas
in 2003 I could develop MFC etc. stuff (then again I had the full
version of 2003
rather than express). I can get over that using WxWidgets (or similar)
presumably.

Cheers,

Gordy.
David Lowndes - 27 Mar 2007 10:38 GMT
>Hello, I've just acquired a new PC with Vista. I was considering
>installing VS C++
>2005 to do some native non-NET code. My basic query is, will native
>C++ code
>developed on Vista still be backwards compatible with 98/XP (or at
>least without massive changes)

You can still develop for XP (and probably for Win9x, though it won't
be "supported") - just be sure not to use any Vista only APIs in your
application and set the conditional definitions correctly - see the
"Using the Windows Headers" article on MSDN.

> and is the support in 2005 for C++ as good as 2003?

The compiler's much improved and there's the same facilities in the
full products as far as I'm aware.

Dave
gordon.is.a.moron@gmail.com - 28 Mar 2007 00:01 GMT
> >Hello, I've just acquired a new PC with Vista. I was considering
> >installing VS C++
[quoted text clipped - 14 lines]
>
> Dave

Thanks Dave. I've read that Express has the following limitation,
according to wikipedia:

"Microsoft Visual C++ 2005 Express Edition is available from the
Microsoft
Developer Network (MSDN) web site as a free download. However, the
Visual C++ 2005 SP1 Redistributables are not included and cannot be
downloaded from Microsoft. Thus, an executable compiled using default
options (dynamic linking) in Visual C++ 2005 Express SP1 cannot be
deployed to PC's that do not have Visual C++ 2005 Express SP1
installed."

This is slightly worrying, obviously, unless I have misinterpreted it.
David Lowndes - 28 Mar 2007 00:22 GMT
>Thanks Dave. I've read that Express has the following limitation,
>according to wikipedia:

I've never used the express version so I can't confirm it.

Dave
gordon.is.a.moron@gmail.com - 28 Mar 2007 04:48 GMT
> >Thanks Dave. I've read that Express has the following limitation,
> >according to wikipedia:
>
> I've never used the express version so I can't confirm it.
>
> Dave

I've downloaded it, so assuming I can configure it properly I'll try a
hello world
program on another box and see what happens.

Cheers,

Gordy.
jnc100 - 01 Apr 2007 22:32 GMT
Yes, you interpret it correctly.  Apps built with Visual C++ require the
Microsoft runtime to be distributed on the target computer.  In previous
versions, this just involved distributing a dll, but with VS2005,
side-by-side distributing and manifests make it slightly harder, and the
express edition does not have the easy to use installer for the runtimes that
is provided in other versions.  You can make your own vcredist installer,
however, by following the instructions here:

http://www.codeproject.com/cpp/vcredists_x86.asp

It worked a treat for me.

Regards,
John.

> > >Hello, I've just acquired a new PC with Vista. I was considering
> > >installing VS C++
[quoted text clipped - 28 lines]
>
> This is slightly worrying, obviously, unless I have misinterpreted it.
David Wilkinson - 27 Mar 2007 11:12 GMT
> Hello, I've just acquired a new PC with Vista. I was considering
> installing VS C++
[quoted text clipped - 10 lines]
> rather than express). I can get over that using WxWidgets (or similar)
> presumably.

Gordy:

The generated code does not depend on the OS of the development
computer. It depends only on the version of the compiler (VC6, VS2003,
VS2005) and the value of preprocessor symbols such as WINVER.

David Wilkinson
gordon.is.a.moron@gmail.com - 28 Mar 2007 00:02 GMT
> gordon.is.a.mo...@gmail.com wrote:
>
[quoted text clipped - 22 lines]
>
> - Show quoted text -

Ok, that's cleared up then. Thanks David.

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.