Target operating system

P

PawelSokolowski

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
 
F

Family Tree Mike

I do not believe VS 2008 nor .Net 3.5 (or even 2.0) are supported on NT. NT
is not mentioned in the system requirements sections on any of these.
 
P

PawelSokolowski

I am not trying to run Visual Studio on NT.
System requirements concern IDE, not target systems.
An application built with VS2003 was working without problems on NT 4.0
It worked on Win98 also.
Now after migrating to VS2008, I am getting an application that runs only on
XP and higher.

Regards
Pawel
 
J

Jeroen Mostert

PawelSokolowski said:
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/lofiversion/index.php/t112283.html

It links to a more complete discussion here:
http://groups.google.com/group/Visual-Studio-NET-2005/browse_thread/thread/4fa74dafe3eb6ef5/

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.
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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top