[prev in list] [next in list] [prev in thread] [next in thread] 

List:       winpcap-users
Subject:    Re: [Winpcap-users] Problem with install on other PCs
From:       "Gianluca Varenni" <gianluca.varenni () cacetech ! com>
Date:       2008-08-19 20:00:47
Message-ID: 035501c90236$45a79570$1a4da8c0 () NELSON2
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


  ----- Original Message ----- 
  From: Ray Jaramillo 
  To: winpcap-users@winpcap.org 
  Sent: Friday, August 15, 2008 6:56 AM
  Subject: [Winpcap-users] Problem with install on other PCs


  So I used Jpcap and Winpcap to allow my program to list the network interfaces, 
  let the user choose one, then send and recieve UDP messages . Works
  great on my computer with Jpcap and Winpcap installed on it. I have 
  included jpcap.dll and jpcap.jar,wpcap.dll,packet.dll,wanpacket.dll, 
  npptools.dll in the install program and put them in the correct folder 
  upon install( I think). ANd still I cannot get jpcap to list the 
  network interfaces at all on any computer I install my program on other than my \
own.

  final jpcap.NetworkInterface[] devices = JpcapCaptor.getDeviceList(); 

  after this code run on another computer    devices == null  (I included a 
  label that changes text to tell me this) 

  I don't know which file I am not including in my install program but 
  this is driving me crazy, I don't know why it works on my computer but 
  not any i install it on and I am at the end of ideas to find the file/ 
  files I am missing in the install program. The files I have after install are the \
same as the files the   other PCs get on install so it has to be a file I installed \
to get Jpcap and Winpcap to work with my dev kit.  But they were both self installing \
.exes and I then moved some files around to match my javax package install.  Anybody \
got any Ideas?? 

WinPcap installs a kernel driver as well. It's not possible to embed the WinPcap DLLs \
and driver in your application and bypass the WinPcap installer. The reason is that \
WinPcap does not support side-by-side execution i.e. you cannot have multiple copies \
of WinPcap installed on your machine (unless you are using WinPcap Professional).

Have a nice day
GV


  Ray 


  Ray A. Jaramillo
  Software Engineer
  Micro Control Systems
  5877 Enterprise Parkway
  Fort Myers, Florida 33905
  Phone: (239) 694-0089
  Fax: (239) 694-0031
  Web: www.mcscontrols.com





------------------------------------------------------------------------------


  _______________________________________________
  Winpcap-users mailing list
  Winpcap-users@winpcap.org
  https://www.winpcap.org/mailman/listinfo/winpcap-users


[Attachment #5 (text/html)]

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.16705" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<BLOCKQUOTE 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 \
2px solid; MARGIN-RIGHT: 0px">  <DIV style="FONT: 10pt arial">----- Original Message \
----- </DIV>  <DIV 
  style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> 
  <A title=raj@mcscontrols.com href="mailto:raj@mcscontrols.com">Ray 
  Jaramillo</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>To:</B> <A title=winpcap-users@winpcap.org 
  href="mailto:winpcap-users@winpcap.org">winpcap-users@winpcap.org</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> Friday, August 15, 2008 6:56 
  AM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> [Winpcap-users] Problem with 
  install on other PCs</DIV>
  <DIV><BR></DIV>
  <DIV>So I used Jpcap and Winpcap to allow my program to list the network 
  interfaces, <BR>let the user choose one, then send and recieve UDP messages . 
  Works<BR>great on my computer with Jpcap and Winpcap installed on it. I have 
  <BR>included jpcap.dll and jpcap.jar,wpcap.dll,packet.dll,wanpacket.dll, 
  <BR>npptools.dll in the install program and put them in the correct folder 
  <BR>upon install( I think). ANd still I cannot get jpcap to list the 
  <BR>network interfaces at all on any computer I install my program on other 
  than my own.<BR><BR>final jpcap.NetworkInterface[] devices = 
  JpcapCaptor.getDeviceList(); <BR><BR>after this code run on another 
  computer&nbsp;&nbsp;&nbsp; devices == null&nbsp; (I included a <BR>label that 
  changes text to tell me this) <BR><BR>I don't know which file I am not 
  including in my install program but <BR>this is driving me crazy, I don't know 
  why it works on my computer but <BR>not any i install it on and I am at the 
  end of ideas to find the file/ <BR>files I am missing in the install program. 
  The files I have after install are the same as the files the <BR>other PCs get 
  on install so it has to be a file I installed to get Jpcap and Winpcap to work 
  with my dev kit.<BR>But they were both self installing .exes and I then moved 
  some files around to match my javax package install.<BR>Anybody got any 
  Ideas?? </DIV>
  <DIV>&nbsp;</DIV></BLOCKQUOTE>
<DIV><FONT size=2>WinPcap installs a kernel driver as well. It's not possible to 
embed the WinPcap DLLs and driver in your application and bypass the WinPcap 
installer. The reason is that WinPcap does not support side-by-side execution 
i.e. you cannot have multiple copies of WinPcap installed on your machine 
(unless you are using WinPcap Professional).</FONT></DIV><FONT size=2></FONT>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2>Have a nice day</FONT></DIV>
<DIV><FONT size=2>GV</FONT></DIV>
<BLOCKQUOTE 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 \
2px solid; MARGIN-RIGHT: 0px">  <DIV><BR><BR>Ray <BR><BR></DIV><X-SIGSEP>
  <P></X-SIGSEP><FONT size=2>Ray A. Jaramillo<BR>Software Engineer<BR>Micro 
  Control Systems<BR>5877 Enterprise Parkway<BR>Fort Myers, Florida 
  33905<BR>Phone: (239) 694-0089<BR>Fax: (239) 694-0031<BR>Web: <A 
  href="http://www.mcscontrols.com">www.mcscontrols.com</A><BR><BR></FONT>
  <P>
  <HR>

  <P></P>_______________________________________________<BR>Winpcap-users 
  mailing 
  list<BR>Winpcap-users@winpcap.org<BR>https://www.winpcap.org/mailman/listinfo/winpcap-users<BR></BLOCKQUOTE></BODY></HTML>




_______________________________________________
Winpcap-users mailing list
Winpcap-users@winpcap.org
https://www.winpcap.org/mailman/listinfo/winpcap-users


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic