I am planning to use sodium in my kernel callout driver.
I use the pre-built .lib of sodium, but I get link warning:
libsodium64.lib(core.obj) : warning LNK4257: linking object not compiled with /KERNEL ; image may not run
Well, it's not out of box for windows driver.
Then I compiled it myself with
/KERNEL option. But get warning:
warning D9002: Ignore unknown option “/kernel-”.
So I think maybe problem arise from the project TargetType: Static Library (.lib).
I try to change it to DriverLibrary.
But get a lot of warning
C4273 inconsistent DLL linkage.
If I'm not wrong with the above idea, how to build a Driver Library correctly ?
It looks like you're new here. If you want to get involved, click one of these buttons!
|Upcoming OSR Seminars|
|Developing Minifilters||29 July 2019||OSR Seminar Space|
|Writing WDF Drivers||23 Sept 2019||OSR Seminar Space|
|Kernel Debugging||21 Oct 2019||OSR Seminar Space|
|Internals & Software Drivers||18 Nov 2019||Dulles, VA|