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.