This program can be compiled using Microsoft Visual C++ 6.0 in visual mode by opening the appropriate .dsp or .dsw file.

This package requires the source to make ZbarLib.lib http://binnie.id.au/Downloads/ZbarSource.zip

It can be compiled in command line mode, using the .mak files.
If the compiler is not already on the path you may need to run:-
%ProgramFiles%\Microsoft Visual Studio\VC98\Bin\VCVARS32.BAT

To compile you need the Microsoft Platform Software Development Kit (SDK), and this needs to be registered with Visual Studio.
The file make.bat will call the file Microsoft SDK\SetEnv.Bat to set the build environment, then build both applications.

Ignore any warning messages concerning ZbarExifView.dep or ZbarJpegView.dep
Visual Studio creates these with absolute paths, so they are useless, and are not needed for successful compilation.


If you don't have the SDK you will need to include psapi.h, or
modify processapiP.h to include the definition of the psapi structure used in this code
//#include <psapi.h>
typedef struct _MODULEINFO {
    LPVOID lpBaseOfDll;
    DWORD SizeOfImage;
    LPVOID EntryPoint;
} MODULEINFO, *LPMODULEINFO;
