The attached patch makes Virtual Dimension compile w/
MSVC (cl.exe) - except that I can't figure out how to
do dependencies w/ that, so gcc/g++ is still required
for it.
Basically, I'm using cygwin + msvc7.1 (2003). Still
uses gmake, etc., so requires cygwin (or mingw).
Note: I've forked makefile into makefile.msc; if
desired, I can rework this into using a switch using
the main makefile (something like "make MSC=1 all"
perhaps).
(I'm doing this to make it possible to compile Virtual
Dimension as a Unicode app - patch for that forthcoming
if this is accepted)
Other notes:
- MSC does the CommandLineOption::s_argsmap
constructor too late (after g_cmdLineTransp etc.) and
crashes; I've changed it to a pointer instead to work
around this.
- I'm forcing ordering when linking, to make sure the
linker doesn't put AfterRemote* before the
corresponding Remote* funcitons.
- The Microsoft headers do define IID_IActiveDesktop
and CLSID_ActiveDesktop