Hello,
When I build the “free” version of my FS filter driver I have a problem that
the driver is loaded at the incorrect entry point (a debugger shows an
address where system fails as “00000008:00000000”)
The driver is loaded on demand, so when I start the serivce I get the issue.
Checked version of the driver works properly!!
I found that such behavior appears if I remove “DBG=1” from the preprocessor
definitions.
What can be the problem?
P.S. I don’t use standard setenv.bat file to build free version. I
used a 3d-party utility to create a .DSW file with settings
appropriate to build kernel-mode drivers from the makefile provided
with filespy, after that the .DSW file was converted to .SLN file.
–
Roman
mailto:xxxxx@rbcmail.ru
Welcome to the “DUH I USED A STUPID NON-STANDARD BUILD AND NOW I HAVE
PROBLEMS CLUB”. You obviously are getting the setting correct, and what are
you going to do when:
- You want to run PreFAST?
- You want to build for 64-bit?
- You want to run SDV when it is available?
- Microsoft changes the build settings, as they do once in a while?
Bottom line is use the stock build environment, otherwise your driver will
be crap. If you want to develop is VS use ddkbuild from OSR or
http://www.hollistech.com/ to build.
–
Don Burn (MVP, Windows DDK)
Windows 2k/XP/2k3 Filesystem and Driver Consulting
Remove StopSpam from the email to reply
“Roman Kudinov” wrote in message news:xxxxx@ntfsd…
> Hello,
>
> When I build the “free” version of my FS filter driver I have a problem
that
> the driver is loaded at the incorrect entry point (a debugger shows an
> address where system fails as “00000008:00000000”)
> The driver is loaded on demand, so when I start the serivce I get the
issue.
>
> Checked version of the driver works properly!!
>
> I found that such behavior appears if I remove “DBG=1” from the
preprocessor
> definitions.
>
> What can be the problem?
>
>
> P.S. I don’t use standard setenv.bat file to build free version. I
> used a 3d-party utility to create a .DSW file with settings
> appropriate to build kernel-mode drivers from the makefile provided
> with filespy, after that the .DSW file was converted to .SLN file.
>
> –
> Roman
>
>
>
> mailto:xxxxx@rbcmail.ru
>
>
>