Czerno
December 6th, 2002, 22:58
Hi fellows ! Just a reminder here to those of you write VxD's for the Win 9x/ME OS, using the MS Win98 DDK tools : don't forget to try and set the WIN40COMPAT flag ( define it in the assembly BEFORE including the DDK definitions, or as an option on the ML.exe command line ) !
This will ensure you target Win 95 as well as the newer versions. In case you have unknowingly made use of some 98- or ME-only function , the assembler will warn you in any case so no problem, either you revise your code if possible to avoid the offending function, or you renounce supporting 95 but at least you will know why you did !
Too often I found on this site VxD's which could work perfectly under 95, only they would not launch because they'd been compiled with the '98 DDK not using the above mentionned definition !!! Of course it's possible to patch the binary VxD afterwards using a hex editor changing the required DDK and SDK versions to 4.0 , but hey! that's a pain in the neck and it shows the lameness of the programmer at that
HTH !
--
Cz.
This will ensure you target Win 95 as well as the newer versions. In case you have unknowingly made use of some 98- or ME-only function , the assembler will warn you in any case so no problem, either you revise your code if possible to avoid the offending function, or you renounce supporting 95 but at least you will know why you did !
Too often I found on this site VxD's which could work perfectly under 95, only they would not launch because they'd been compiled with the '98 DDK not using the above mentionned definition !!! Of course it's possible to patch the binary VxD afterwards using a hex editor changing the required DDK and SDK versions to 4.0 , but hey! that's a pain in the neck and it shows the lameness of the programmer at that

HTH !
--
Cz.