1
0
mirror of https://git.code.sf.net/p/zint/code synced 2025-12-23 21:07:05 +00:00

win32: add "zint_dll_vc6" sub-directory with VC6 workspace for

creating "zint.dll" compatible with Windows XP (see ticket #339)
win32: rename README and HOWTO files to uppercase and update
  "win32\README.txt"
general: suppress some VC6 warnings
README.bsd: update
This commit is contained in:
gitlost
2025-09-26 13:52:55 +01:00
parent 4956989405
commit 4d301ea560
12 changed files with 581 additions and 26 deletions

View File

@@ -1,4 +1,4 @@
% win32/README 2025-09-16
% win32/README 2025-09-26
Visual Studio 2022
------------------
@@ -123,7 +123,7 @@ Adjust for sub-directory when setting PATH:
set "PATH=%cd%\zint\win32\vs2015\Release;%PATH%"
For information on building a standalone version of Zint Studio using Visual
Studio 2015, see "frontend_qt\howto_build_qzint_using_msvs2015.txt"
Studio 2015, see "frontend_qt\HOWTO_BUILD_STANDALONE_MSVS2015.txt"
CMake and Visual Studio
@@ -175,7 +175,9 @@ Visual C++ 6
The zint library and command line tool can be built using VC6 (but not with GS1
Syntax Engine support).
See "win32\zint_cmdline_vc6\readme.txt"
See "win32\zint_cmdline_vc6\README.txt".
To build the zint library as a DLL, see "win32\zint_dll_vc6\README.txt".
MinGW/MSYS

View File

@@ -0,0 +1,12 @@
2025-09-26
Build a Win32 "zint.dll" using MS Visual Studio 6.0 (VC6).
$ZR is the zint root folder (this file is in $ZR\win32\zint_dll_vc6)
Follow the instructions for setting up "$ZR\..\zlib" and "$ZR\..\lpng"
as given in "$ZR\win32\zint_cmdline_vc6\README.txt".
(Note that the GS1 Syntax Engine is not compilable with VC6.)
Open "zint_dll_vc6.dsw" in this folder with the VC6 GUI and build.

View File

@@ -0,0 +1,504 @@
# Microsoft Developer Studio Project File - Name="zint_dll_vc6" - Package Owner=<4>
# Microsoft Developer Studio Generated Build File, Format Version 6.00
# ** DO NOT EDIT **
# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102
CFG=zint_dll_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_dll_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_dll_vc6.mak" CFG="zint_dll_vc6 - Win32 Debug"
!MESSAGE
!MESSAGE Possible choices for configuration are:
!MESSAGE
!MESSAGE "zint_dll_vc6 - Win32 Release" (based on "Win32 (x86) Dynamic-Link Library")
!MESSAGE "zint_dll_vc6 - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library")
!MESSAGE
# Begin Project
# PROP AllowPerConfigDependencies 0
# PROP Scc_ProjName ""
# PROP Scc_LocalPath ""
CPP=cl.exe
MTL=midl.exe
RSC=rc.exe
!IF "$(CFG)" == "zint_dll_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 Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "ZINT_DLL_VC6_EXPORTS" /YX /FD /c
# ADD CPP /nologo /MD /W3 /GX /O2 /I "..\..\backend" /I "..\..\..\zlib" /I "..\..\..\lpng" /D "NDEBUG" /D ZINT_VERSION="2.15.0" /D "WIN32" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "ZINT_DLL_VC6_EXPORTS" /YX /FD /c
# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32
# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32
# ADD BASE RSC /l 0x1809 /d "NDEBUG"
# ADD RSC /l 0x1809 /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 /nologo /dll /machine:I386
# ADD LINK32 zlib.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 libpng.lib /nologo /dll /machine:I386 /out:"Release/zint.dll" /libpath:"..\..\..\zlib" /libpath:"..\..\..\lpng"
!ELSEIF "$(CFG)" == "zint_dll_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 /MTd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "ZINT_DLL_VC6_EXPORTS" /YX /FD /GZ /c
# ADD CPP /nologo /MD /W3 /Gm /GX /ZI /Od /I "..\..\backend" /I "..\..\..\zlib" /I "..\..\..\lpng" /D "_DEBUG" /D "WIN32" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "ZINT_DLL_VC6_EXPORTS" /D ZINT_VERSION="2.15.0" /YX /FD /GZ /c
# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32
# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32
# ADD BASE RSC /l 0x1809 /d "_DEBUG"
# ADD RSC /l 0x1809 /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 /nologo /dll /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 zlib.lib libpng.lib /nologo /dll /debug /machine:I386 /out:"Debug/zint.dll" /pdbtype:sept /libpath:"..\..\..\zlib" /libpath:"..\..\..\lpng"
!ENDIF
# Begin Target
# Name "zint_dll_vc6 - Win32 Release"
# Name "zint_dll_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\2of5inter.c
# End Source File
# Begin Source File
SOURCE=..\..\backend\2of5inter_based.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\bc412.c
# End Source File
# Begin Source File
SOURCE=..\..\backend\bmp.c
# End Source File
# Begin Source File
SOURCE=..\..\backend\channel.c
# End Source File
# Begin Source File
SOURCE=..\..\backend\codabar.c
# End Source File
# Begin Source File
SOURCE=..\..\backend\codablock.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\code11.c
# End Source File
# Begin Source File
SOURCE=..\..\backend\code128.c
# End Source File
# Begin Source File
SOURCE=..\..\backend\code128_based.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
!IF "$(CFG)" == "zint_dll_vc6 - Win32 Release"
!ELSEIF "$(CFG)" == "zint_dll_vc6 - Win32 Debug"
# ADD CPP /I "..\..\backend" /I "..\..\..\zlib" /I "..\..\..\lpng" /D ZINT_VERSION="2.15.0"
!ENDIF
# End Source File
# Begin Source File
SOURCE=..\..\backend\dotcode.c
# End Source File
# Begin Source File
SOURCE=..\..\backend\dxfilmedge.c
# End Source File
# Begin Source File
SOURCE=..\..\backend\eci.c
# End Source File
# Begin Source File
SOURCE=..\..\backend\emf.c
# End Source File
# Begin Source File
SOURCE=..\..\backend\filemem.c
# End Source File
# Begin Source File
SOURCE=..\..\backend\general_field.c
# End Source File
# Begin Source File
SOURCE=..\..\backend\gif.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\hanxin.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=..\..\backend\libzint.rc
# End Source File
# Begin Source File
SOURCE=..\..\backend\mailmark.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\output.c
# End Source File
# Begin Source File
SOURCE=..\..\backend\pcx.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\raster.c
# End Source File
# Begin Source File
SOURCE=..\..\backend\reedsol.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\tif.c
# End Source File
# Begin Source File
SOURCE=..\..\backend\ultra.c
# End Source File
# Begin Source File
SOURCE=..\..\backend\upcean.c
# End Source File
# Begin Source File
SOURCE=..\..\backend\vector.c
# End Source File
# End Group
# Begin Group "Header Files"
# PROP Default_Filter "h;hpp;hxx;hm;inl"
# Begin Source File
SOURCE=..\..\backend\aztec.h
# End Source File
# Begin Source File
SOURCE=..\..\backend\big5.h
# End Source File
# Begin Source File
SOURCE=..\..\backend\bmp.h
# End Source File
# Begin Source File
SOURCE=..\..\backend\channel_precalcs.h
# End Source File
# Begin Source File
SOURCE=..\..\backend\code1.h
# End Source File
# Begin Source File
SOURCE=..\..\backend\code128.h
# End Source File
# Begin Source File
SOURCE=..\..\backend\code49.h
# End Source File
# Begin Source File
SOURCE=..\..\backend\common.h
# End Source File
# Begin Source File
SOURCE=..\..\backend\composite.h
# End Source File
# Begin Source File
SOURCE=..\..\backend\dmatrix.h
# End Source File
# Begin Source File
SOURCE=..\..\backend\dmatrix_trace.h
# End Source File
# Begin Source File
SOURCE=..\..\backend\eci.h
# End Source File
# Begin Source File
SOURCE=..\..\backend\eci_sb.h
# End Source File
# Begin Source File
SOURCE=..\..\backend\emf.h
# End Source File
# Begin Source File
SOURCE=..\..\backend\filemem.h
# End Source File
# Begin Source File
SOURCE=..\..\backend\gb18030.h
# End Source File
# Begin Source File
SOURCE=..\..\backend\gb2312.h
# End Source File
# Begin Source File
SOURCE=..\..\backend\gbk.h
# End Source File
# Begin Source File
SOURCE=..\..\backend\general_field.h
# End Source File
# Begin Source File
SOURCE=..\..\backend\gridmtx.h
# End Source File
# Begin Source File
SOURCE=..\..\backend\gs1.h
# End Source File
# Begin Source File
SOURCE=..\..\backend\gs1_lint.h
# End Source File
# Begin Source File
SOURCE=..\..\backend\hanxin.h
# End Source File
# Begin Source File
SOURCE=..\..\backend\iso3166.h
# End Source File
# Begin Source File
SOURCE=..\..\backend\iso4217.h
# End Source File
# Begin Source File
SOURCE=..\..\backend\ksx1001.h
# End Source File
# Begin Source File
SOURCE=..\..\backend\large.h
# End Source File
# Begin Source File
SOURCE=..\..\backend\maxicode.h
# End Source File
# Begin Source File
SOURCE=..\..\backend\output.h
# End Source File
# Begin Source File
SOURCE=..\..\backend\pcx.h
# End Source File
# Begin Source File
SOURCE=..\..\backend\pdf417.h
# End Source File
# Begin Source File
SOURCE=..\..\backend\pdf417_tabs.h
# End Source File
# Begin Source File
SOURCE=..\..\backend\pdf417_trace.h
# End Source File
# Begin Source File
SOURCE=..\..\backend\qr.h
# End Source File
# Begin Source File
SOURCE=..\..\backend\raster_font.h
# End Source File
# Begin Source File
SOURCE=..\..\backend\reedsol.h
# End Source File
# Begin Source File
SOURCE=..\..\backend\reedsol_logs.h
# End Source File
# Begin Source File
SOURCE=..\..\backend\rss.h
# End Source File
# Begin Source File
SOURCE=..\..\backend\sjis.h
# End Source File
# Begin Source File
SOURCE=..\..\backend\tif.h
# End Source File
# Begin Source File
SOURCE=..\..\backend\tif_lzw.h
# End Source File
# Begin Source File
SOURCE=..\..\backend\zfiletypes.h
# End Source File
# Begin Source File
SOURCE=..\..\backend\zint.h
# End Source File
# Begin Source File
SOURCE=..\..\backend\zintconfig.h
# End Source File
# 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

View File

@@ -0,0 +1,29 @@
Microsoft Developer Studio Workspace File, Format Version 6.00
# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!
###############################################################################
Project: "zint_dll_vc6"=".\zint_dll_vc6.dsp" - Package Owner=<4>
Package=<5>
{{{
}}}
Package=<4>
{{{
}}}
###############################################################################
Global:
Package=<5>
{{{
}}}
Package=<3>
{{{
}}}
###############################################################################