Cherylaksh
Cherylaksh

Reputation: 300

Unable to Load DLL 'wpcap.dll'. The specified module is not found

I want to know which application installed this wpcap.dll. I can see it in some PCs in location c:\Windows\System32\Npcap and in others in c:\Windows\System32.

When I run my code (which has DllImport("wpcap.dll") ) in the first PC, this exception is thrown whereas it is not thrown in second PC.

Also, when I manually add the dll to first PC also, the same exception is thrown. Can someone help me with this?

Upvotes: 4

Views: 17072

Answers (1)

  iluxa1810
iluxa1810

Reputation: 298

I want to know which application installed this wpcap.dll

Google Said it is WinPcap

https://ru.wikipedia.org/wiki/Pcap

You can try this:

run cmd and execute command:

regsvr32 wpcap.dll

Upvotes: 4

Related Questions