Question about a sample from Rajeev Nagar's book

I took a compiled sample from Rajeev Nagar’s book: SFILTER.SYS (see
O’Reilly’s bookstore).I think I can do a file acces filtering .But that
sample do nothing although has a DbgPrint in its souirce code on IRP_CREATE
function.
I like do to something like in that source code .How can I do that?.I could
buy the book but if the compiled sources dosent work…
Thanks
Adi

As the name implies, DbgPrint is sent to the debugger. If you are using a
debugger you will see the output.

<< I took a compiled sample from Rajeev Nagar’s book: SFILTER.SYS (see
O’Reilly’s bookstore).I think I can do a file acces filtering .But that
sample do nothing although has a DbgPrint in its souirce code on IRP_CREATE
function.
I like do to something like in that source code .How can I do that?.I could
buy the book but if the compiled sources dosent work…
Thanks
Adi
>>

Of course I use a debugger :()
I am interested if that sample work on someone else’s computer because I
suspect that it is somthing wrong with my computer
Did you tested it?

----- Original Message -----
From:
To: File Systems Developers Interest List
Sent: Thursday, February 24, 2000 9:35 PM
Subject: [ntfsd] Re: Question about a sample from Rajeev Nagar’s book

> As the name implies, DbgPrint is sent to the debugger. If you are using a
> debugger you will see the output.
>
> << I took a compiled sample from Rajeev Nagar’s book: SFILTER.SYS (see
> O’Reilly’s bookstore).I think I can do a file acces filtering .But that
> sample do nothing although has a DbgPrint in its souirce code on
IRP_CREATE
> function.
> I like do to something like in that source code .How can I do that?.I
could
> buy the book but if the compiled sources dosent work…
> Thanks
> Adi
> >>
>
> —
> You are currently subscribed to ntfsd as: xxxxx@gecad.ro
> To unsubscribe send a blank email to $subst(‘Email.Unsub’)

Hi,

Are you using KERNEL debugger? If so, are you compiling with DEBUG flag
enabled?
If you are using compiled sources, there may be a chance they are compiled in
RELEASE mode, thus
producing no debug output.

Simple way to see debug output is to use DbgView from www.sysinternals.com

Regards,
Giga

chirita adrian wrote:

Of course I use a debugger :()
I am interested if that sample work on someone else’s computer because I
suspect that it is somthing wrong with my computer
Did you tested it?

----- Original Message -----
From:
> To: File Systems Developers Interest List
> Sent: Thursday, February 24, 2000 9:35 PM
> Subject: [ntfsd] Re: Question about a sample from Rajeev Nagar’s book
>
> > As the name implies, DbgPrint is sent to the debugger. If you are using a
> > debugger you will see the output.
> >
> > << I took a compiled sample from Rajeev Nagar’s book: SFILTER.SYS (see
> > O’Reilly’s bookstore).I think I can do a file acces filtering .But that
> > sample do nothing although has a DbgPrint in its souirce code on
> IRP_CREATE
> > function.
> > I like do to something like in that source code .How can I do that?.I
> could
> > buy the book but if the compiled sources dosent work…
> > Thanks
> > Adi
> > >>
> >
> > —
> > You are currently subscribed to ntfsd as: xxxxx@gecad.ro
> > To unsubscribe send a blank email to $subst(‘Email.Unsub’)
>
> —
> You are currently subscribed to ntfsd as: xxxxx@ParadigmGeo.com
> To unsubscribe send a blank email to $subst(‘Email.Unsub’)