Compiling VCMame32 0.68 under Visual C 6 (DevStudio)
----------------------------------------------------

Follow these steps, in this order!

1) Unzip mame source to a location on your hard drive, eg, d:\mame\mame68
2) Unzip zlib source to the same location.
3) Unzip vcmame68 source to the same location.
4) Unzip mame32 source to the same location plus 'src',ie, d:\mame\mame68\src
5) Make sure you have a copy of the DX SDK from Microsoft installed.
6) Copy htmlhelp.h (supplied with Mame32) to your include path.  Ie, Where your
Visual C include files are on your hard disk.  Or, add a new include directory from
your Visual C options menu.
7) Copy htmlhelp.lib to somewhere in your lib path in the same way.

You should now have the following directory layout:

zlib/		(Zlib source)
src/		(Standard Mame source)
src/vc		(VC Mame header & patches)
docs/		(Standard Mame docs)
src/ui/		(Standard Mame32 source)

Plus these files at the root:

vcmame32.dsp
vcmame32.dsw
a68000.dsp
c68000.dsp
hdcomp.dsp
romcmp.dsp
zlib.dsp

Now, just load up vcmame32.dsw and build the project!  



The following files are patched from the official source:

src/windows/osd_cpu.h		(to include vcmame.h header).
src/windows/wind3d.c		(a ddraw struct is different between MinGW and DXSDK)
src/windows/fileio.c		(two defines missing under VC)
src/hdcomp.c				(define missing under VC)

src/ui/options.c			(snprintf)
src/ui/properties.c			(snprintf)
src/ui/treeview.c			(snprintf)
src/ui/win32ui.c			(some defines not present in VC6 version of commctrl.h)

--
Bryan McPhail, mish@vcmame.net, 18/5/2003
