02-07-2020 03:07 PM
@Aliasor wrote:
Fixed it!!
I installed Wireshark which did not allow the DLL to load. Then I got started looking at the *.CPP file included with lvwpcap.dll. It appeared that all the actual code is referenced externally, thru "extcode.h". Then more digging. Then I came across this:
https://forums.ni.com/t5/LabVIEW/Library-not-loading/td-p/3765945
The current version of Wireshark doesn't install the DLL lvwpcap.dll references. I downloaded and installed the WinPcap library from here:
https://www.winpcap.org/install/default.htm
It's version 4.1.3. OS support only claims Win8, but it installed successfully in Win10, and now my old code is back in biz. This might be trouble going forward however, as V4.1.3 slowly rots.
Maybe I retire by then . . . .
I found a Win10 version here.
02-07-2020 03:19 PM
I just pulled that in, Bill.
Thanks for that! Maybe it delays the inevitable just a bit longer. I will experiment with it and see 😉
This forum is awesome. Thanks to everyone here, and best day from FLA!~
02-08-2020 02:53 AM
Wireshark changed the raw network capture driver used from WinPcap to Npcap as development on WinPcap had stopped and the last version of WinPcap had serious stability problems when running on the Windows 10 network stack. Wireshark still can use WinPcap when present but prefers now NpCap.
Someone seems to have developed WinPcap to run on Windows 10 more reliably http://www.win10pcap.org but I have no idea if they can keep up the support or if this was a one time effort only. Changing the LabVIEW wrapper to use NpCap instead wouldn’t be a huge amount of work either.