Hi.
 
Your mail is not so clear. Moreover, do not send mails directly to me, send them to the winpcap users mailing list (that I've put in CC)
 
These are some hints:
1. in order to create a winpcap based app, you need the developers pack AND winpcap installed. You DON'T need the winpcap sources.
2. I suggest you to start with one of the samples in the developers pack. They are unmanaged code, and they project files are for VS6, but you van import them in VS.NET.
3. In order to create a managed wrapper class, I think you should create a managed c++ dll. The main problem could be the buffers used internally by wpcap to store packets (I have never worked on it before, only thought of it).
 
Hope it helps.
GV
 
----- Original Message -----
From: murali
Sent: Wednesday, December 22, 2004 8:19 AM
Subject: [PMX:SPAM 66%] Re: [WinPcap-users] Statically linked WinPcap?

Hi sorry again to disturb you. Please, help me with this problem.
 
How should I start, either I should use the winpcap source to import or the developer' pack to import. To import the dll given in the developer's pack, should I need with vc++.net SDK installed or should I use SDK to import developer's pack and similarly, the source to import without using developers pack.
Please let me know if I have a wrong conception. Please guide me how to work with the developer's pack.
 
I learned through tutorials that we have to use
__declspec(dllexport)  and __declspec(dllimport) 
is that needed to use winpcap's functionality available in that dll. Is that mandatory for the importing a dll in to vc++.net. If that should be used don't we have to configure the linker properties of the project.
 
Is the winpcap a unmanaged code, and I studied that to use unmanaged code in a managed code, a wrapper class should be scripted to do so. How far that wrapper class thing fit into my scenario.
 
Do you have any samples to work with, just importing the winpcap. please help me to get out of this problem.
 
Sorry, for getting introduced so late, Iam Murali Venugopal, a Junior Software Engineer in India.
 
Thanks,
Murali V
 
 
----- Original Message -----
To: murali
Sent: Friday, December 17, 2004 7:09 PM
Subject: Re: [WinPcap-users] Statically linked WinPcap?

Hi.
 
 
Yes, you can use winpcap in vc++.net (or better, I suppose you mean a Managed C++ application). You should include pcap.h, and then add "wpcap.lib" to the libraries in your project (it's in the linker properties of the project).
 
Be careful to read this post if you use winpcap with MC++:
 
 
 
Remember that winpcap is not statically linked. You must have winpcap installed on the machine in order to use it.
 
Have a nice day
GV
 
----- Original Message -----
From: murali
Sent: Friday, December 10, 2004 8:09 AM
Subject: Re: [WinPcap-users] Statically linked WinPcap?

Hi,
    Is it possible to use winpcap's dll in vc++.net. I tried the steps given in the developer's pack documentation. But i couldn't import the dll in vc++.net. Is it possible to do so.
Or is it possible to import it only in vc++.
Please let me know.
 
Thanks,
Murali venugopal
 

Reply via email to