Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > .NET General

Vista - Target operating system

Reply
 
Old 06-30-2008   #1 (permalink)
PawelSokolowski


 
 

Target operating system

Hi all,

After changing VS2003 to VS2008 my C++ app stopped working on Windows NT 4.0
It says, that this is not valid application or something like this.

Is there any settings concerning target platform, not only x86 ?

Regards
Pawel



My System SpecsSystem Spec
Old 06-30-2008   #2 (permalink)
Jeroen Mostert


 
 

Re: Target operating system

PawelSokolowski wrote:
Quote:

> After changing VS2003 to VS2008 my C++ app stopped working on Windows NT 4.0
> It says, that this is not valid application or something like this.
>
VS2008 no longer supports Windows NT as a target platform
(http://msdn.microsoft.com/library/bb531344), so this is not completely
unexpected.

A forum thread discussing this in more detail is here:
http://www.msfn.org/board/lofiversio...p/t112283.html

It links to a more complete discussion here:
http://groups.google.com/group/Visua...74dafe3eb6ef5/

This discusses some tweaks for getting it to work, but your best bet is
really to stick with the last version of VS that still fully supports NT
4.0. If I'm not mistaken, VS2005 should still produce executables that run
on NT 4.0.
Quote:

> Is there any settings concerning target platform, not only x86 ?
>
Lots, among them alignment, runtime library to link, processor architecture,
manifest file and probably one or two others I'm forgetting. Your main
hurdle will be that as Windows moves forward, the runtime libraries will
start linking with functions they'll assume to be present (and are not on NT
4.0) and not using the runtime libraries isn't really an option.

Try getting a "hello, world!" application working before your try anything
more complicated.

--
J.
My System SpecsSystem Spec
Old 06-30-2008   #3 (permalink)
Phil Wilson


 
 

Re: Target operating system

You'll need to install the VS 2008 C++ run time support on whatever
supported OS you want to run on. e.g.

http://www.microsoft.com/downloads/d...displaylang=en

--
Phil Wilson
Definitive Guide to Windows Installer
http://www.apress.com/book/view/1590592972


"PawelSokolowski" <PeeS290@xxxxxx> wrote in message
news:%23nkkywq2IHA.4920@xxxxxx
Quote:

> Hi all,
>
> After changing VS2003 to VS2008 my C++ app stopped working on Windows NT
> 4.0
> It says, that this is not valid application or something like this.
>
> Is there any settings concerning target platform, not only x86 ?
>
> Regards
> Pawel
>

My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
Cannot Find Operating System! Help! General Discussion
Operating System Virtual PC
When the operating system Vista General
operating system Vista installation & setup
Operating System Help Vista General


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46