Hi,
I am writing a WDM video capture driver by Win2000 DDK and
VC6.0. My environment is Windows98 se.

I put my source code under c:\xxxxxxx\wdm.nt directory,
then build the source code.
The generated .sys works well under Win98/ME, but it crash
the win2k/xp immediately when it starts.

Later I rename the directory to c:\xxxxxxx\wdm1.nt, (one
more character), it works well on all Windows OS.

My question is:
Does it have any relationship between the source code
directory name and generated .sys file?
Or it is VC linker's problem?

Re: driver compile problem by James

James
Fri Sep 05 09:55:12 CDT 2003

I don't have the answer to your specific problem, but you're not
building in the Microsoft-approved manner for a Win2K target (I'm not
familiar with Win98/ME targets). That manner is that the building system
be Win2K or later and that the build environment be the Win2K DDK or
later, specifically including the compiler and linker included in the
DDK. I suggest you employ this technique to produce executables
targetted for Win2K. If, doing this, you continue to have a problem
related to directory name, I would be most interested to learn more
about it.

You can, by the way, employ Visual Studio as a front end to DDK build.
Mark Roddy's (see www.hollistech.com) DDKBUILD does the job very nicely
(OSR.com has something comparable).

dersheng wrote:

> Hi,
> I am writing a WDM video capture driver by Win2000 DDK and
> VC6.0. My environment is Windows98 se.

--
If replying by e-mail, please remove "nospam." from the address.

James Antognini
Windows DDK MVP