- From: Dan Swaney <dango@cox.net>
- Date: Fri, 22 Jun 2007 12:09:47 -0400
- To: <bancroft@america.net>, "'Jack Hughes'" <jhughes@openxtra.co.uk>
- Cc: <www-lib@w3.org>
Visual Studio can typically upgrade earlier Solution and Project files as far back as Visual C++ 6.0. Unfortunately, starting in Visual Studio 2005, Microsoft added a default option where the WINVER #define defaults to Windows 2003 Server. What this means is that the compiled library/application will refuse to run on Windows NT, 2000, and XP. It doesn't even display an error either -- the app will just do nothing. What you need to do is make sure to define WINVER to 0x0400 -- which means allow the app to run on Windows NT and above. You can do this through the project settings so you don't have to add it to your code. =Dan= -----Original Message----- From: www-lib-request@w3.org [mailto:www-lib-request@w3.org] On Behalf Of Vic Bancroft Sent: Wednesday, June 20, 2007 7:48 AM To: Jack Hughes Cc: www-lib@w3.org Subject: Re: Visual Studio 2005 support Jack Hughes wrote: > Has anybody had a go at getting www-lib to build under Visual Studio > 2005? Interesting question, my operating system environments are linux and NetBSD, though I have recently considered Solaris. If there is a general interest in supporting various IDE's, then we should outline which have folks willing to contribute the appropriate supporting files. For eclipse, one might want to have the .project file under version control. Does the VisualStudio world have methods for detecting the IDE version and adapting, or would we need to check in a different file for each ? more, l8r, v -- "The future is here. It's just not evenly distributed yet." -- William Gibson, quoted by Whitfield Diffie
Received on Saturday, 23 June 2007 20:59:40 UTC