For some reason I could not use this method either when I had an open TCP connection. So I do this now in the very beginning of my program.
Regards, Alex -----Original Message----- From: Lars Larsen [mailto:[EMAIL PROTECTED] Sent: Thursday, November 18, 2004 10:40 AM To: [EMAIL PROTECTED] Subject: [WinPcap-users] crash Hello World\n; Sometimes I am getting crashes when using WPCAP.LIB, a "0xC0000005 read error...." exception. originating from pcap_findalldevs_ex() but it is not every time I get the crash, and then it works like a dream. I am building an application based on wpcap.lib 3.1.beta4, mvc++ 6.0 sp6, for W2K sp4, According to the loaded DLL list, it happens some where "outside" my context (a Kernel mode thing?) I had to include the api in a DLL based on MFC, and because it is difficult to convince the complier/linker to handle both MFC and non-MFC code, I have build a pcap.lib, that i link with my MFC code. the FAQ is convinced that a bug like this should be fixed a long time ago, is it a poltergeist ??? Any suggestions??? regards Lars -- Software developer Lars Larsen ICCC A/S DK Telegrafvej 5A 2700 Ballerup Denmark tel : +45 44 86 04 00 fax : +45 44 86 04 39 ================================================================== This is the WinPcap users list. It is archived at http://www.mail-archive.com/[email protected]/ To unsubscribe use mailto: [EMAIL PROTECTED] ================================================================== ================================================================== This is the WinPcap users list. It is archived at http://www.mail-archive.com/[email protected]/ To unsubscribe use mailto: [EMAIL PROTECTED] ==================================================================
