diff --git a/win32/zint_cmdline_vc6/readme.txt b/win32/zint_cmdline_vc6/readme.txt new file mode 100644 index 00000000..9c0d0bc2 --- /dev/null +++ b/win32/zint_cmdline_vc6/readme.txt @@ -0,0 +1,24 @@ +Harald Oehlmann +2016-01-12 + +Why to use VC6 ? +It avoids DLL Hell as the runtime is present on all WIndows Versions sinc XP. +I compile on Windows 10 64 bit. + +How to compile: + +$ZR is the zint root folder (this file is in $ZR/win32/zint_cmdline_vc6) + +a) zlib (current version: 1.2.8) +* put zlib to $ZR\..\zlib +* get vc6 shell +cd $ZR\..\zlib +nmake -f win32\Makefile.msc +-> generates zlib.lib, zlib1.dll +-> generates $ZR\--\lpng\libpng.lib +b) lpng (current version: 1.6.20) +* put libpng to $ZR/../lpng +cd $ZR\..\lpng +nmake -f scripts\makefile.vcwin32 +-> generates $ZR\--\lpng\libpng.lib +c) open the files in this folder with the msvc6 gui and compile \ No newline at end of file diff --git a/win32/zint_cmdline_vc6/zint_cmdline_vc6.dsp b/win32/zint_cmdline_vc6/zint_cmdline_vc6.dsp new file mode 100644 index 00000000..fb037456 --- /dev/null +++ b/win32/zint_cmdline_vc6/zint_cmdline_vc6.dsp @@ -0,0 +1,229 @@ +# Microsoft Developer Studio Project File - Name="zint_cmdline_vc6" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 6.00 +# ** DO NOT EDIT ** + +# TARGTYPE "Win32 (x86) Console Application" 0x0103 + +CFG=zint_cmdline_vc6 - Win32 Debug +!MESSAGE This is not a valid makefile. To build this project using NMAKE, +!MESSAGE use the Export Makefile command and run +!MESSAGE +!MESSAGE NMAKE /f "zint_cmdline_vc6.mak". +!MESSAGE +!MESSAGE You can specify a configuration when running NMAKE +!MESSAGE by defining the macro CFG on the command line. For example: +!MESSAGE +!MESSAGE NMAKE /f "zint_cmdline_vc6.mak" CFG="zint_cmdline_vc6 - Win32 Debug" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "zint_cmdline_vc6 - Win32 Release" (based on "Win32 (x86) Console Application") +!MESSAGE "zint_cmdline_vc6 - Win32 Debug" (based on "Win32 (x86) Console Application") +!MESSAGE + +# Begin Project +# PROP AllowPerConfigDependencies 0 +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" +CPP=cl.exe +RSC=rc.exe + +!IF "$(CFG)" == "zint_cmdline_vc6 - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "Release" +# PROP BASE Intermediate_Dir "Release" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "Release" +# PROP Intermediate_Dir "Release" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c +# ADD CPP /nologo /W3 /GX /O2 /I "..\..\backend" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /D "NO_PNG" /YX /FD /D ZINT_VERSION="\"2.7.3\"" /c +# ADD BASE RSC /l 0x407 /d "NDEBUG" +# ADD RSC /l 0x407 /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 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 +# ADD LINK32 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 + +!ELSEIF "$(CFG)" == "zint_cmdline_vc6 - Win32 Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "Debug" +# PROP BASE Intermediate_Dir "Debug" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "Debug" +# PROP Intermediate_Dir "Debug" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c +# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "..\..\backend" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /D "NO_PNG" /YX /FD /D /D /D /GZ ZINT_VERSION="\"2.7.3\"" /c +# ADD BASE RSC /l 0x407 /d "_DEBUG" +# ADD RSC /l 0x407 /d "_DEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 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 +# ADD LINK32 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:"Debug/zint.exe" /pdbtype:sept + +!ENDIF + +# Begin Target + +# Name "zint_cmdline_vc6 - Win32 Release" +# Name "zint_cmdline_vc6 - Win32 Debug" +# Begin Group "Source Files" + +# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" +# Begin Source File + +SOURCE=..\..\backend\2of5.c +# End Source File +# Begin Source File + +SOURCE=..\..\backend\auspost.c +# End Source File +# Begin Source File + +SOURCE=..\..\backend\aztec.c +# End Source File +# Begin Source File + +SOURCE=..\..\backend\code.c +# End Source File +# Begin Source File + +SOURCE=..\..\backend\code1.c +# End Source File +# Begin Source File + +SOURCE=..\..\backend\code128.c +# End Source File +# Begin Source File + +SOURCE=..\..\backend\code16k.c +# End Source File +# Begin Source File + +SOURCE=..\..\backend\code49.c +# End Source File +# Begin Source File + +SOURCE=..\..\backend\common.c +# End Source File +# Begin Source File + +SOURCE=..\..\backend\composite.c +# End Source File +# Begin Source File + +SOURCE=..\..\backend\dmatrix.c +# End Source File +# Begin Source File + +SOURCE=..\..\frontend\getopt.c +# End Source File +# Begin Source File + +SOURCE=..\..\frontend\getopt1.c +# End Source File +# Begin Source File + +SOURCE=..\..\backend\gridmtx.c +# End Source File +# Begin Source File + +SOURCE=..\..\backend\gs1.c +# End Source File +# Begin Source File + +SOURCE=..\..\backend\imail.c +# End Source File +# Begin Source File + +SOURCE=..\..\backend\large.c +# End Source File +# Begin Source File + +SOURCE=..\..\backend\library.c +# End Source File +# Begin Source File + +SOURCE=..\..\frontend\main.c +# End Source File +# Begin Source File + +SOURCE=..\..\backend\maxicode.c +# End Source File +# Begin Source File + +SOURCE=..\..\backend\medical.c +# End Source File +# Begin Source File + +SOURCE=..\..\backend\pdf417.c +# End Source File +# Begin Source File + +SOURCE=..\..\backend\plessey.c +# End Source File +# Begin Source File + +SOURCE=..\..\backend\png.c +# End Source File +# Begin Source File + +SOURCE=..\..\backend\postal.c +# End Source File +# Begin Source File + +SOURCE=..\..\backend\ps.c +# End Source File +# Begin Source File + +SOURCE=..\..\backend\qr.c +# End Source File +# Begin Source File + +SOURCE=..\..\backend\reedsol.c +# End Source File +# Begin Source File + +SOURCE=..\..\backend\render.c +# End Source File +# Begin Source File + +SOURCE=..\..\backend\rss.c +# End Source File +# Begin Source File + +SOURCE=..\..\backend\svg.c +# End Source File +# Begin Source File + +SOURCE=..\..\backend\telepen.c +# End Source File +# Begin Source File + +SOURCE=..\..\backend\upcean.c +# End Source File +# End Group +# Begin Group "Header Files" + +# PROP Default_Filter "h;hpp;hxx;hm;inl" +# End Group +# Begin Group "Resource Files" + +# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" +# End Group +# End Target +# End Project diff --git a/win32/zint_cmdline_vc6/zint_cmdline_vc6.dsw b/win32/zint_cmdline_vc6/zint_cmdline_vc6.dsw new file mode 100644 index 00000000..845436f0 --- /dev/null +++ b/win32/zint_cmdline_vc6/zint_cmdline_vc6.dsw @@ -0,0 +1,29 @@ +Microsoft Developer Studio Workspace File, Format Version 6.00 +# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! + +############################################################################### + +Project: "zint_cmdline_vc6"=.\zint_cmdline_vc6.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Global: + +Package=<5> +{{{ +}}} + +Package=<3> +{{{ +}}} + +############################################################################### +