Prev: What WDK to use for WDF 1.7 ?
Next: added FltRegisterFilter to the WDK kbdFilter example..get link
From: unclepauly on 12 May 2010 09:46 hello, i have built and have successfuly installed and used the sample mini filter keyboard driver from the WDK samples. i have modified the DriverEntry function to call FltRegisterFilter....and i get a linker error....'unresolved external symbol _FltRegisterFilter(a)12'. i am sure this function lives in fltMgr.lib, and i have used dumpbin.exe on this lib file and i have seen FltRegisterFilter in there. so, i have tried two things, both of which have had no effect: 1) in the SOURCES file (which is called from the MAKEFILE) i have added the line: LIBRARIES=C:\WinDDK\6777\lib\wlh\i386\fltMgr.lib 2) added a pragma in the c file: #pragma comment(lib, "C:\\WinDDK\\6777\\lib\\wlh\\i386\\fltMgr.lib") as you can see i have put the full path to the lib just to make sure. i am using the following command line to build the driver: build -cewgZ i have tried with the checked and free build environments. i am on vista home premium 32 bit. can anyone please explain what i am doing wrong...if i have not given enough info let me know... thanks in advance.
From: Scott Noone on 12 May 2010 10:46 Keyboard filter drivers and file system minifilters are entirely different beasts. What are you trying to do? -scott -- Scott Noone Consulting Associate OSR Open Systems Resources, Inc. http://www.osronline.com "unclepauly" <unclepauly(a)discussions.microsoft.com> wrote in message news:22BD9D99-53C0-45EE-A642-891B7C72E26F(a)microsoft.com... > hello, > > i have built and have successfuly installed and used the sample mini > filter > keyboard driver from the WDK samples. > > i have modified the DriverEntry function to call FltRegisterFilter....and > i > get a linker error....'unresolved external symbol _FltRegisterFilter(a)12'. > > i am sure this function lives in fltMgr.lib, and i have used dumpbin.exe > on > this lib file and i have seen FltRegisterFilter in there. > > so, i have tried two things, both of which have had no effect: > > 1) in the SOURCES file (which is called from the MAKEFILE) i have added > the > line: > > LIBRARIES=C:\WinDDK\6777\lib\wlh\i386\fltMgr.lib > > 2) added a pragma in the c file: > > #pragma comment(lib, "C:\\WinDDK\\6777\\lib\\wlh\\i386\\fltMgr.lib") > > as you can see i have put the full path to the lib just to make sure. > > i am using the following command line to build the driver: > > build -cewgZ > > i have tried with the checked and free build environments. > i am on vista home premium 32 bit. > > can anyone please explain what i am doing wrong...if i have not given > enough > info let me know... > thanks in advance.
|
Pages: 1 Prev: What WDK to use for WDF 1.7 ? Next: added FltRegisterFilter to the WDK kbdFilter example..get link |