Divert
Divert copied to clipboard
Fix issue #215
Add windivert_log.mc to SOURCES to fix error:"Not Found windivert_log.rc or 'windivert_log.h in source code!"
Is the SOURCES file even used? I thought it was redundant since switching to the VS build. Actually, I am wondering why it was not already deleted.
I followed the guidance of https://reqrypt.org/windivert-doc.html to generate .sys files by running wddk-build.bat not VS, the problem of issue #215 happend:"Not Found windivert_log.rc or 'windivert_log.h`"
I found that when running wddk-build.bat, it finally run file /sys/sources to generate .sys files.
Because you said that I quote:"The windivert_log.rc and windivert_log.h files should be automatically built from the windivert_log.mc file. However, it appears this step is not working. Perhaps the project files are not compatible with VS2019." And I realized that 'windivert_log.mc' should be complied at first. After I added 'windivert_log.mc' to 'SOURCES', the problem was solved and the drvier WinDivert64.sys or WinDivert32.sys was generated.