Hey, You can do it by writing an Active X in Visual C++. Inside the Active X, you handle all WinpCap. All packets you capture store in to a queue. VB then using the Active X to poll it out.
Mike -----Original Message----- From: Chuckie Ice [mailto:[EMAIL PROTECTED] Sent: Sunday, May 02, 2004 4:00 AM To: [EMAIL PROTECTED] Subject: [WinPcap-users] Capturing/Sending Packets In Visual Basic Hey, I found out about your projects and WinPCap a little while ago. So far, I can see all of you have put forth a lot of effort into making this. I had a few questions though, since I'm not really a proficient C++ User. I do have C++, and all the example files work, but I wanted to know if it was possible to use WPCap.dll or Packet.dll in Visual Basic using API calls. I have tried to convert some of the C++ API to VB, but it just doesn't seem to work. Here is an example: Private Declare Function PacketGetAdapterNames Lib "packet.dll" (pStr As String, BufferSize As Long) As Boolean I thought this would be a correct API call, but it seems to have errors when I call it. If anyone could help me on this issue, I would greatly appriciate it. Thanks! Cheers Chuckie Ice _________________________________________________________________ Is your PC infected? Get a FREE online computer virus scan from McAfee(r) Security. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 ================================================================== 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] =================================================================
