t, given the key role that VxDs have in extending t
he core features of the Windows 95 kernel, is the version of VtoolsD for Windows 95.
VtoolsD for Windows 95 ($495) requires either Windows NT or 95. If you're running NT, you can only edit and compile the VxD--you can't execute or debug it. You'll also need Microsoft Visual C/C++ 2.0 or higher, or Borland C/C++ 4.02 or higher.
The product consists of a suite of tools plus a collection of libraries. VtoolsD includes plenty of source code samples to get you started (and if you're new at VxD programming, you'll need them). It also comes with VxDView, a VxD sniffer that snoops on all the VxDs currently running on your system. (You'd be surprised at how many VxDs are active in a Windows 95 system. I counted 71 in mine.) VxDView is handy for verifying that your VxD has at least properly registered itself with the system. However, the prow of VtoolsD is the QuickVxD utility, a VxD "skeleton builder" that generates either C or C++ code (
see the screen
).
Quick
VxD lets you select the control messages to which your VxD will respond. (Windows 95 sends control messages to VxDs on software and hardware events, such as device initialization or application execution.) For the C version, each message you select produces an entry in a
switch()
statement within a dispatcher function. In the C++ framework, QuickVxD creates methods associated with each event. In either case, you need only pour code into the empty functions (or methods) that QuickVxD constructs in the emitted source file. This source code, plus the libraries you link in, handles all the VxD initialization and VxD-to-application interface nastiness that makes this such a black art. You can concentrate on what your VxD actually does.
Product Information
Vireo Software
Phone: (508) 264-9200
Fax: (508) 264-9205
E-Mail:
vireo@vireo.com
Internet:
http://world.std.com/vireo/