Windows System Software -- Consulting, Training, Development -- Unique Expertise, Guaranteed Results

Before Posting...
Please check out the Community Guidelines in the Announcements and Administration Category.

UserMode app using FltUser.h and the .lib to link to?

David_F.David_F. Member Posts: 193

I've got a normal app to connect to the minifilter communication port using FilterConnectCommunicationPort. First problem is that fltuser.h not found. Apparently It's not part of the $(VCInstallDir)include items, not part of the $(WindowsSDKDir)\include folder. Searching I find it in "\program files (x86)\windows kits\8.0\include\um" and "\program files (x86)\windows kits\8.1\include\um" as well as in various items under \WinDDK (3790.1830\inc\ifs\w2k, 3790.1830\inc\ifs\wnet, 3790.1830\inc\ifs\wxp, and 7600.16385.1\inc\ddk ). So I just went ahead and added an include directory for the project (VS2008) to be \WinDDK\7600.16385.1\inc\ddk and now the compile works, but link fails. What is the .lib to link to? How is the user mode side of things intended to be used?



  • David_F.David_F. Member Posts: 193
    Looks like "fltlib.lib" is the library and found those in several but just decided to use \WINDDK\7600.16385.1\lib\win7\i386 and \WINDDK\7600.16385.1\lib\win7\amd64 location. It looks like they designed it to build user apps under the ddk build environment rather than integrating by default to visual studio, so you just manually add the information to point to what you need.
  • Gabriel_BerceaGabriel_Bercea Member - All Emails Posts: 482
    You pbably want to check under Project->Properties->General->Platform Toolset and check which one is being used currently for your project.



Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Upcoming OSR Seminars
Writing WDF Drivers 25 Feb 2019 OSR Seminar Space
Developing Minifilters 8 April 2019 OSR Seminar Space