RE: jumping to invalid addresses when calling HAL leg- acy fns from a WDM driver

Or do a wrapper for the ancient library that is built under the NT4 DDK and
produces a kernel DLL (SYS). Call an exported function in the DLL and voila
… your HalGetObjectByOffset is linked properly.

Hmmm something from Horatio about lots of way to do things …

Gary G. Little
Broadband Storage, Inc.
xxxxx@broadstor.com
xxxxx@inland.net
(949) 7372731

-----Original Message-----
From: Moreira, Alberto [mailto:xxxxx@compuware.com]
Sent: Thursday, January 03, 2002 1:49 PM
To: NT Developers Interest List
Subject: [ntdev] RE: jumping to invalid addresses when calling HAL leg acy
fns from a WDM driver

What I meant was, just have two instruction paths, one for wdm, one for
non-wdm. Whether you call the driver itself “wdm” or not is irrelevant:

if (im_running_on_a_wdm_track) do_it_the_fancy_way();
else do_it_the_dirty_way();

Problem solved, no ? But you may need two DDKs to build the driver, so,
that’s why I mentioned it.

Alberto.


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com