<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:arial, helvetica, sans-serif;font-size:12pt"><DIV>GV, I want to make some minor changes in the Packet code. That is why I want to recompile it. This is an open source project and folks just should be able to try things out right? I have timing/synchronization issues on a high performance system and I am curious about what is going on at this low level. I have put in some callbacks in packet that are made during the spinning to wait between packets sent to let me know what is going on. Basically I am using a Quad core system that has different processes running on different cores. I am trying to see what each core is up to at any one time. These low lever routines are being used by several upper level applications. If one thread (above) is being stalled then I am wondering if another stack of packets could be sent. This is not the whole story
but it is what I am exploring. It should be ok to experiment with this project, right?</DIV>
<DIV> </DIV>
<DIV>Now my experimental code is working just fine on XP single core cpu. Now I have mover over to my Qud core Vista 64 bit machine changing nothing and Vista will only see the original Packet dll you released on December 23 2008 at 8:36 AM.</DIV>
<DIV> </DIV>
<DIV>
<DIV><FONT size=2>By the way, below you said:</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>The 64bit one goes to windows\system32</FONT></DIV>
<DIV><FONT size=2>The 32bit one goes to windows\sysWOW64</FONT></DIV><FONT size=2></FONT></DIV>
<DIV><FONT size=2></FONT>
<DIV> </DIV>
<DIV>Is this not in reverse?</DIV>
<DIV> </DIV>
<DIV>I am using Windows Explorer to copy the files and it lets me see both directories without redirection just fine. I am not recreating the installer, just copying the files from the build directory (...\winpcap\packetNtx\Dll\Project\Debug\x86-x64) to the respective System 32 / WOW areas. The ones the installer put there will load and run but exactly named equivalents built on the same system cannot be seen/loaded. Totally strange. I am using Visual Studio 2005 on both the XP box and the Vista box.</DIV></DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: arial, helvetica, sans-serif"> </DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: arial, helvetica, sans-serif">Sure wish we had a type of forum where one could include/attach jpg screen shots. </DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: arial, helvetica, sans-serif"> </DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: arial, helvetica, sans-serif">Dennis<BR> </DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif"><FONT face=Tahoma size=2>
<HR SIZE=1>
<B><SPAN style="FONT-WEIGHT: bold">From:</SPAN></B> Gianluca Varenni <gianluca.varenni@cacetech.com><BR><B><SPAN style="FONT-WEIGHT: bold">To:</SPAN></B> winpcap-users@winpcap.org<BR><B><SPAN style="FONT-WEIGHT: bold">Sent:</SPAN></B> Monday, August 17, 2009 9:38:08 AM<BR><B><SPAN style="FONT-WEIGHT: bold">Subject:</SPAN></B> Re: [Winpcap-users] Cannot get Packet.dll to load onr Vista<BR></FONT><BR>
<STYLE type=text/css>DIV { MARGIN:0px;} </STYLE>
<DIV><FONT size=2>Things get complicated on a 64 bit machine. First of all, there are two versions of packet.dll (as of 4.1beta5), the 32bit one and the 64 bit one.</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>The 64bit one goes to windows\system32</FONT></DIV>
<DIV><FONT size=2>The 32bit one goes to windows\sysWOW64</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>Moreover, if the application that you use to copy the files is 32bit (e.g. you use total commander), then things get more complicated. The *real* windows\system32 folder is hidden. If you try to open a file in windows\system32, the OS redirects your calls to windows\sysWOW64.</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>Out of curiosity, why are you trying to recompile and manually install WinPcap. In some previous mail you were saying that you needed to build a WinPcap-based application. If so, there is no need to recompile WinPcap and reproduce the installer.</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>Have a nice day</FONT></DIV>
<DIV><FONT size=2>GV</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2></FONT> </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"><B>From:</B> <A title=drewcrewof2@yahoo.com href="mailto:drewcrewof2@yahoo.com" target=_blank rel=nofollow ymailto="mailto:drewcrewof2@yahoo.com">Dennis Drew</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=winpcap-users@winpcap.org href="mailto:winpcap-users@winpcap.org" target=_blank rel=nofollow ymailto="mailto:winpcap-users@winpcap.org">winpcap-users@winpcap.org</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Monday, August 17, 2009 9:10 AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [Winpcap-users] Cannot get Packet.dll to load onr Vista</DIV>
<DIV><BR></DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: arial, helvetica, sans-serif">
<DIV>Well, if I install the Wdpcap exe, and it installs a Packet.dll in the Windoes\System - or SysWOW64 directory, it can be found and runs. But when I build my own Packet dll in Win32 or 64 bit and put both in Windows System or SysWOW64, the Vista cannot "see" or load them. Whne I rename mine to Packet.dll_mine and rename the one installed by the Wdpcap installer to Packet.dll, everything is fine. By the way, under XP Pro, my Packet dll loads and runs fine. </DIV>
<DIV> </DIV>
<DIV>Something is preventing a debug version to load under Vista. Anyone else having this problem and have a solution?</DIV>
<DIV> </DIV>
<DIV>Thanks,</DIV>
<DIV>Dennis Drew</DIV></DIV>
<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></DIV></div></body></html>