- Add
kernel32.libtoIgnore Specific Default Libraries.
But don't removekernel32.libfromAdditional Dependencies. - Set
Additional Dependenciestofileextd.lib;ntdll.lib;%(AdditionalDependencies).
Order is important.fileextd.libmust come beforekernel32.lib. - FileExtd.lib was not created with __declspec(dllimport) in mind. Need to take precautions against the _imp__ symbol.
Do either.#define WINBASEAPIbefore#include <windows.h>. Although this is easy, keep in mind that it affects the entire source file.- Override
__imp__SetFileInformationByHandle@16using assembly.
-
-
Save 0xbadfca11/5bde6392f4a402ebb981ba1e16a35956 to your computer and use it in GitHub Desktop.
Using FileExtd.lib with newer Windows SDK
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| .MODEL FLAT | |
| EXTERN _SetFileInformationByHandle@16:PROC | |
| PUBLIC __imp__SetFileInformationByHandle@16 | |
| .CONST | |
| __imp__SetFileInformationByHandle@16 DD _SetFileInformationByHandle@16 | |
| END |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment