I'm trying to compile the Iczelion's vxd examples. The
generated VxDs work perfectly in Win98 and WinME
but in Win95 the VxD cannot be opened (Device init is not
executed and CreateFile returns -1).

I have run the Iczelion VxD examples and they work in
Win95, but when I compile them they don't
work for Win95 (I exactly use the same makefile that
Iczelion includes in his examples)

Does anyone know what's the problem?

Posted on 2003-02-12 08:59:09 by Mista
I believe there's some compile-time define you have to set to have your VxD's compatible with win95... I can't recall the details though.
Posted on 2003-02-12 10:11:41 by f0dder

Yup, I think -DWIN40COMPAT is the switch you need to add to the ml.exe line of your makefile for Win95 compatibility.

Posted on 2003-02-12 10:28:19 by Kayaker
heh. I thought it was something like that, but google didn't show anything sensible with "DWIN4" search string, so I didn't write it :P
Posted on 2003-02-12 10:31:45 by f0dder
Thanks a lot guys, now vxd works on all W9x :alright:

Posted on 2003-02-12 16:45:42 by Mista