Thank you for the advice.
Yes, you are right - Win32 console application works fine.
Regards,
Alex


-----Original Message-----
From: Gianluca Varenni [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 27, 2004 11:07 AM
To: [EMAIL PROTECTED]
Subject: [SPAM] Re: [WinPcap-users] cannot run pcap on Windows XP with
Microsoft Visual C++ .NET

Hi.

I think you have created a managed c++ application ("Console Application
(.NET)").
You must create a native win32 c++ application to run  the examples in
the
tutorial. It's called "Win32 Console project" in the new project wizard.

The error VC is giving you is in fact generated by the Common Language
Runtime (CLR) while loading some type (pcap, in this case) from an
unknown
assembly or module.

Have a nice day
GV


----- Original Message ----- 
From: "Alex Narinsky" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, April 27, 2004 4:53 PM
Subject: [WinPcap-users] cannot run pcap on Windows XP with Microsoft
Visual
C++ .NET


> Hello,
>
> I am trying to run the pcap tutorial example "Opening an adapter and
> capturing the packets" on Windows XP using Microsoft Visual C++ .NET.
> On VC++ 6.0 this example works.  Also, previous examples in .NET work
> too.
>
> However, this particular example results in the error:
> An unhandled exception of type 'System.TypeLoadException' occurred in
> Unknown Module.
>
> Additional information: Could not load type pcap from assembly pcap,
> Version=1.0.1578.16508, Culture=neutral, PublicKeyToken=null.
>
> Does anybody have a successful experience running pcap on Windows XP
> with Microsoft Visual C++ .NET?
>
> Thank you
>
> Alex Narinsky
>
>
>
>
> ==================================================================
>  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]
==================================================================




==================================================================
 This is the WinPcap users list. It is archived at
 http://www.mail-archive.com/[EMAIL PROTECTED]/

 To unsubscribe use 
 mailto: [EMAIL PROTECTED]
==================================================================

Reply via email to