Re: Access Violation Exception with pcpp::PcapLiveDeviceList::getInstance()

15 views
Skip to first unread message

PcapPlusPlus Support

unread,
Aug 26, 2024, 3:17:15 AM8/26/24
to Tomasz Bogdan, PcapPlusPlus support
Hi Tomasz,

It should work with WinPcap too, but Npcap is a better option because WinPcap is not maintained anymore.

Thanks,
PcapPlusPlus maintainer


On Sun, Aug 25, 2024 at 10:14 AM Tomasz Bogdan <bogdant...@gmail.com> wrote:
Solved 

Install npcap instead of winpcap.

niedziela, 25 sierpnia 2024 o 18:52:34 UTC+2 Tomasz Bogdan napisał(a):
Dear PcapPlusPlus Support Team,
I am experiencing an issue when attempting to use the pcpp::PcapLiveDeviceList::getInstance() function in my C++ project. Specifically, the program crashes and an access violation exception occurs.

Problem Description
I encounter the following exception:

Exception 0xc0000005 encountered at address 0x7fffbb822f1d: Access violation reading location 0xffffffffaf51e0a0

Environment
Operating System: Windows 11 (amd64)
IDE: CLion 2024.2.0.1
PcapPlusPlus Version: [Specify the version you are using] (from vcpkg with --head)
C++ Standard: C++17


Thank you for your support.

--
You received this message because you are subscribed to the Google Groups "PcapPlusPlus support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pcapplusplus-sup...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pcapplusplus-support/a2008204-fb53-40c3-92ca-c756411fff60n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages