Re: filemon.sys first timer

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Dejan Maksimovic (dejan_at_alfasp.com)
Date: 05/27/04


Date: Thu, 27 May 2004 23:40:29 +0200


> 1. what copiler can use to write an app that uses a vxd or sys driver?
> devc++ visualc bcc cygwin

        I don't know about others, but I have only used VC++ to make VXDs. You
will probably need NuMega's VToolsD (now part of DriverStudio), as otherwise
you will go through real hell.
        Just an advise: focus on making device drivers for NT, as 9x is a
platform that is not developed any more (dying), so this is late to start
writing VXDs. Consider directly using existing solutions.

> 2. I how can i use filemon.sys or filemon.vxd to write a small console app
> that displays all the file activity to stdout?

        You would need to communicate to it via DeviceIoControl. But do check
the readme.txt before you do that:-)

> 3. where do i tell the compile to used the vxd or sys file? are they used in
> the same way of dlls?

        You can't - see my answer to your second question.

--
Kind regards, Dejan M. MVP for DDK
http://www.alfasp.com E-mail: dejan@alfasp.com
Alfa Transparent File Encryptor - Transparent file encryption services.
Alfa File Protector - File protection and hiding library for Win32 developers.
Alfa File Monitor - File monitoring library for Win32 developers.