Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not work with wdk #1340

Open
HXXZA opened this issue Feb 19, 2024 · 5 comments
Open

Not work with wdk #1340

HXXZA opened this issue Feb 19, 2024 · 5 comments

Comments

@HXXZA
Copy link

HXXZA commented Feb 19, 2024

Hi, i have a question, I use wdk to develop windows driver ,but when i export the database . It not contain any driver header or marco..

`

[
{
"directory": "E:/OneDrive/Knowledge_System/Windows/Driver/FileFilter/nullFilter/",
"command": ""C:/Program Files/LLVM/bin/clang++.exe" -x c "E:/OneDrive/Knowledge_System/Windows/Driver/FileFilter/nullFilter/nullFilter.c" -Wall -fms-compatibility-version=19.10 -Wmicrosoft -Wno-invalid-token-paste -Wno-unknown-pragmas -Wno-unused-value -fsyntax-only "-D_MT" "-D_DLL" "-D_DEBUG_FUNCTIONAL_MACHINERY" -isystem"C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/include" -isystem"C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/atlmfc/include" -isystem"C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Auxiliary/VS/include" -isystem"C:/Program Files (x86)/Windows Kits/10/Include/10.0.22000.0/ucrt" -isystem"C:/Program Files (x86)/Windows Kits/10/Include/10.0.22000.0/um" -isystem"C:/Program Files (x86)/Windows Kits/10/Include/10.0.22000.0/shared" -isystem"C:/Program Files (x86)/Windows Kits/10/Include/10.0.22000.0/winrt" -isystem"C:/Program Files (x86)/Windows Kits/10/Include/10.0.22000.0/cppwinrt"",
"file": "E:/OneDrive/Knowledge_System/Windows/Driver/FileFilter/nullFilter/nullFilter.c"
}
]

`

it not contain: C:\Program Files (x86)\Windows Kits\10\Include\10.0.22000.0\km

@mariru27
Copy link
Contributor

Hi,

Thank you for reporting this issue, can you activate verbose mode and give us the resulted log when you export database?
image

Best regards,
Marina

@HXXZA
Copy link
Author

HXXZA commented Feb 19, 2024

log.txt
Sure , but this is a Chinese development environment, so some debug info is not english

@HXXZA HXXZA changed the title not work with wdk Not work with wdk Feb 20, 2024
@HXXZA
Copy link
Author

HXXZA commented Feb 23, 2024

@mariru27 Hi, Is this a bug or an unimplemented feature?

@mariru27
Copy link
Contributor

Hi,

Sorry for the delayed answer, we do not support this currently, but you can add the path manually
image

Kind regards,
Marina

@HXXZA
Copy link
Author

HXXZA commented Feb 24, 2024

@mariru27 I find a way to solve it :
image

buf if a sln project have many sub project, it's look like a "global setting"

Is possibly apply it to specific project?

Such as
image

I want apply it to project DeviceMonitor, NetMonitor and SystemMonitor only.

By the way , according to log, seems the program crashed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants