cap
cap copied to clipboard
Resolve module load issue if npcap installed without api-compatible mode
There will be a module load issue if api-compatible mode is not checked while installing npcap on windows. I made a fix for it. What I do:
- Add LoadNpcapDlls method when invoke this node addon.
- Update binding.gyp, append wpcap.dll as delay load dll.
There is a document from npcap site, I just followed the description in this link. https://npcap.com/guide/npcap-devguide.html#npcap-feature-native-dll