Give up on older Visual Studio versions.
authorIain Patterson <me@iain.cx>
Sat, 4 Jan 2014 16:17:07 +0000 (16:17 +0000)
committerIain Patterson <me@iain.cx>
Sat, 4 Jan 2014 16:17:07 +0000 (16:17 +0000)
Tests show that Visual Studio 6 and 2005 won't build NSSM presumably
because there is no suitable platform SDK corresponding to those versions.
Carting around a legacy DSP and DSW file is therefore somewhat
pointless, especially as newer Visual Studio releases have freely
available Express versions and will compile the project.

README.txt
nssm.dsp [deleted file]
nssm.dsw [deleted file]

index 19fcb8e..72f7ea4 100644 (file)
@@ -500,8 +500,10 @@ To find out the service name of a service with a display name:
 \r
 Building NSSM from source\r
 -------------------------\r
-NSSM is known to compile with Visual Studio 2008.  Older Visual Studio\r
-releases may or may not work.\r
+NSSM is known to compile with Visual Studio 2008 and later.  Older Visual\r
+Studio releases may or may not work if you install an appropriate SDK and\r
+edit the nssm.vcproj and nssm.sln files to set a lower version number.\r
+They are known not to work with default settings.\r
 \r
 NSSM will also compile with Visual Studio 2010 but the resulting executable\r
 will not run on versions of Windows older than XP SP2.  If you require\r
diff --git a/nssm.dsp b/nssm.dsp
deleted file mode 100644 (file)
index 8fcf44d..0000000
--- a/nssm.dsp
+++ /dev/null
@@ -1,218 +0,0 @@
-# Microsoft Developer Studio Project File - Name="nssm" - Package Owner=<4>\r
-# Microsoft Developer Studio Generated Build File, Format Version 6.00\r
-# ** DO NOT EDIT **\r
-\r
-# TARGTYPE "Win32 (x86) Console Application" 0x0103\r
-\r
-CFG=nssm - Win32 Debug\r
-!MESSAGE This is not a valid makefile. To build this project using NMAKE,\r
-!MESSAGE use the Export Makefile command and run\r
-!MESSAGE \r
-!MESSAGE NMAKE /f "nssm.mak".\r
-!MESSAGE \r
-!MESSAGE You can specify a configuration when running NMAKE\r
-!MESSAGE by defining the macro CFG on the command line. For example:\r
-!MESSAGE \r
-!MESSAGE NMAKE /f "nssm.mak" CFG="nssm - Win32 Debug"\r
-!MESSAGE \r
-!MESSAGE Possible choices for configuration are:\r
-!MESSAGE \r
-!MESSAGE "nssm - Win32 Release" (based on "Win32 (x86) Console Application")\r
-!MESSAGE "nssm - Win32 Debug" (based on "Win32 (x86) Console Application")\r
-!MESSAGE \r
-\r
-# Begin Project\r
-# PROP AllowPerConfigDependencies 0\r
-# PROP Scc_ProjName ""\r
-# PROP Scc_LocalPath ""\r
-CPP=cl.exe\r
-RSC=rc.exe\r
-\r
-!IF  "$(CFG)" == "nssm - Win32 Release"\r
-\r
-# PROP BASE Use_MFC 0\r
-# PROP BASE Use_Debug_Libraries 0\r
-# PROP BASE Output_Dir "Release"\r
-# PROP BASE Intermediate_Dir "Release"\r
-# PROP BASE Target_Dir ""\r
-# PROP Use_MFC 0\r
-# PROP Use_Debug_Libraries 0\r
-# PROP Output_Dir "Release"\r
-# PROP Intermediate_Dir "Release"\r
-# PROP Ignore_Export_Lib 0\r
-# PROP Target_Dir ""\r
-# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c\r
-# ADD CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c\r
-# ADD BASE RSC /l 0x809 /d "NDEBUG"\r
-# ADD RSC /l 0x809 /d "NDEBUG"\r
-BSC32=bscmake.exe\r
-# ADD BASE BSC32 /nologo\r
-# ADD BSC32 /nologo\r
-LINK32=link.exe\r
-# ADD BASE LINK32 shlwapi.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386\r
-# ADD LINK32 shlwapi.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 /out:"nssm.exe"\r
-\r
-!ELSEIF  "$(CFG)" == "nssm - Win32 Debug"\r
-\r
-# PROP BASE Use_MFC 0\r
-# PROP BASE Use_Debug_Libraries 1\r
-# PROP BASE Output_Dir "Debug"\r
-# PROP BASE Intermediate_Dir "Debug"\r
-# PROP BASE Target_Dir ""\r
-# PROP Use_MFC 0\r
-# PROP Use_Debug_Libraries 1\r
-# PROP Output_Dir "Debug"\r
-# PROP Intermediate_Dir "Debug"\r
-# PROP Ignore_Export_Lib 0\r
-# PROP Target_Dir ""\r
-# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c\r
-# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /FD /GZ /c\r
-# SUBTRACT CPP /YX\r
-# ADD BASE RSC /l 0x809 /d "_DEBUG"\r
-# ADD RSC /l 0x809 /d "_DEBUG"\r
-BSC32=bscmake.exe\r
-# ADD BASE BSC32 /nologo\r
-# ADD BSC32 /nologo\r
-LINK32=link.exe\r
-# ADD BASE LINK32 shlwapi.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept\r
-# ADD LINK32 shlwapi.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /out:"nssm.exe" /pdbtype:sept\r
-\r
-!ENDIF \r
-\r
-# Begin Target\r
-\r
-# Name "nssm - Win32 Release"\r
-# Name "nssm - Win32 Debug"\r
-# Begin Group "Source Files"\r
-\r
-# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"\r
-# Begin Source File\r
-\r
-SOURCE=.\event.cpp\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=.\gui.cpp\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=.\imports.cpp\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=.\io.cpp\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=.\nssm.cpp\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=.\process.cpp\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=.\registry.cpp\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=.\service.cpp\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=.\settings.cpp\r
-# End Source File\r
-# End Group\r
-# Begin Group "Header Files"\r
-\r
-# PROP Default_Filter "h;hpp;hxx;hm;inl"\r
-# Begin Source File\r
-\r
-SOURCE=.\event.h\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=.\gui.h\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=.\imports.h\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=.\io.h\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=.\nssm.h\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=.\process.h\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=.\registry.h\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=.\service.h\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=.\settings.h\r
-# End Source File\r
-# End Group\r
-# Begin Group "Resource Files"\r
-\r
-# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe"\r
-# Begin Source File\r
-\r
-SOURCE=.\nssm.ico\r
-# End Source File\r
-# Begin Source File\r
-\r
-SOURCE=.\nssm.rc\r
-# End Source File\r
-# End Group\r
-# Begin Source File\r
-\r
-SOURCE=.\messages.mc\r
-\r
-!IF  "$(CFG)" == "nssm - Win32 Release"\r
-\r
-# Begin Custom Build - Compiling messages\r
-InputPath=.\messages.mc\r
-InputName=messages\r
-\r
-BuildCmds= \\r
-       mc -u -U $(InputName).mc -r . -h .\r
-\r
-"$(InputName).rc" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
-   $(BuildCmds)\r
-\r
-"$(InputName).h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
-   $(BuildCmds)\r
-# End Custom Build\r
-\r
-!ELSEIF  "$(CFG)" == "nssm - Win32 Debug"\r
-\r
-# Begin Custom Build - Compiling messages\r
-InputPath=.\messages.mc\r
-InputName=messages\r
-\r
-BuildCmds= \\r
-       mc -u -U $(InputName).mc -r . -h .\r
-\r
-"$(InputName).rc" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
-   $(BuildCmds)\r
-\r
-"$(InputName).h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"\r
-   $(BuildCmds)\r
-# End Custom Build\r
-\r
-!ENDIF \r
-\r
-# End Source File\r
-# End Target\r
-# End Project\r
diff --git a/nssm.dsw b/nssm.dsw
deleted file mode 100644 (file)
index 7f16af1..0000000
--- a/nssm.dsw
+++ /dev/null
@@ -1,29 +0,0 @@
-Microsoft Developer Studio Workspace File, Format Version 6.00\r
-# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!\r
-\r
-###############################################################################\r
-\r
-Project: "nssm"=.\nssm.dsp - Package Owner=<4>\r
-\r
-Package=<5>\r
-{{{\r
-}}}\r
-\r
-Package=<4>\r
-{{{\r
-}}}\r
-\r
-###############################################################################\r
-\r
-Global:\r
-\r
-Package=<5>\r
-{{{\r
-}}}\r
-\r
-Package=<3>\r
-{{{\r
-}}}\r
-\r
-###############################################################################\r
-\r