<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<STYLE type=text/css>DIV {
        MARGIN: 0px
}
</STYLE>
<META content="MSHTML 6.00.2900.5726" name=GENERATOR></HEAD>
<BODY bgColor=#ffffff>
<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; font-color: black"><B>From:</B>
<A title=drewcrewof2@yahoo.com href="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">winpcap-users@winpcap.org</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Monday, August 17, 2009 2:36
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [Winpcap-users] Cannot get
Packet.dll to load onr Vista</DIV>
<DIV><FONT size=2></FONT><BR></DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: arial, helvetica, sans-serif"><FONT
face="Courier New" size=2></FONT><BR></DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: arial, helvetica, sans-serif">GV, on
this (below), you were right! and that fixed the problem! A pix of the little
test app is attached.</DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: arial, helvetica, sans-serif"><FONT
face="Courier New" size=2></FONT><BR> </DIV>
<DIV
style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif"><FONT
face=Tahoma size=2>
<DIV><FONT size=3>The 64bit one goes to windows\system32</FONT></DIV>
<DIV><FONT size=3>The 32bit one goes to windows\sysWOW64</FONT></FONT><BR>
<STYLE type=text/css>DIV {
MARGIN:0px;}
</STYLE>
</DIV>
<DIV><FONT face="Courier New" size=2></FONT> </DIV>
<DIV><FONT face="arial, helvetica, sans-serif">How stupid to have to put a 32
bit dll in a directory that says "64" and a 64 bit one in a directory titles
"32"...</FONT></DIV>
<DIV><FONT
face="arial, helvetica, sans-serif"></FONT> </DIV></DIV></BLOCKQUOTE>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: arial, helvetica, sans-serif"><FONT
face=Arial>The reason behind that is backwards compatibility. Applications
expect the system files to be under system32. This is particularly true for
32bit applications that get recompiled for x86-64. So Microsoft came out with
this "hack", which makes application development really easy, but it's a
headache when you develop installers that deal with both x86 and x86_64
binaries....</FONT></DIV>
<DIV
style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif"><FONT
face=Arial></FONT> </DIV>
<DIV
style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif"><FONT
face=Arial>GV</FONT></DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV
style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif"><FONT
face=Arial></FONT> </DIV>
<DIV
style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif"><FONT
face="arial, helvetica, sans-serif">You are a GENIUS! Thanks!</FONT></DIV>
<DIV
style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif"> </DIV>
<DIV
style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif"><FONT
face="arial, helvetica, sans-serif">Dennis</FONT></DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; FONT-SIZE: 12pt; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px; FONT-FAMILY: times new roman, new york, times, serif">
<DIV style="FONT: 10pt arial"><FONT size=3>-----</FONT> 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 10:23
AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [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">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
style="FONT-SIZE: 12pt; FONT-FAMILY: arial, helvetica, sans-serif"><FONT
face="Courier New" size=2></FONT> </DIV></BLOCKQUOTE>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: arial, helvetica, sans-serif"><FONT
face="Courier New" size=2>Definitely. I was just asking because compiling
WinPcap (actually installing it) is a major pain in the neck, and I thought
you were just trying to build a WinPcap based application. To simplify your
job, when you are experimenting you can safely keep packet.dll and wpcap.dll
in the same folder where you have your application (that's what I do during
development).</FONT></DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; FONT-SIZE: 12pt; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px; FONT-FAMILY: times new roman, new york, times, serif">
<DIV
style="FONT-SIZE: 12pt; FONT-FAMILY: arial, helvetica, sans-serif"><FONT
face="Courier New" size=2></FONT> </DIV>
<DIV
style="FONT-SIZE: 12pt; FONT-FAMILY: arial, helvetica, sans-serif"><FONT
face="Courier New" size=2></FONT> </DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: arial, helvetica, sans-serif">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
style="FONT-SIZE: 12pt; FONT-FAMILY: arial, helvetica, sans-serif"><FONT
face="Courier New" size=2></FONT> </DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: arial, helvetica, sans-serif">
<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
style="FONT-SIZE: 12pt; FONT-FAMILY: arial, helvetica, sans-serif"><FONT
size=2></FONT>
<DIV><FONT face="Courier New" size=2></FONT> </DIV>
<DIV>Is this not in reverse?</DIV>
<DIV><FONT face="Courier New" size=2></FONT> </DIV></DIV></BLOCKQUOTE>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: arial, helvetica, sans-serif"><FONT
face="Courier New" size=2>No, it's right (and I know it sounds wrong...). It's
done in such way for backwards compatibility...</FONT></DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; FONT-SIZE: 12pt; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px; FONT-FAMILY: times new roman, new york, times, serif">
<DIV
style="FONT-SIZE: 12pt; FONT-FAMILY: arial, helvetica, sans-serif"><FONT
face="Courier New" size=2></FONT> </DIV>
<DIV
style="FONT-SIZE: 12pt; FONT-FAMILY: arial, helvetica, sans-serif"><FONT
face="Courier New" size=2></FONT> </DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: arial, helvetica, sans-serif">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
style="FONT-SIZE: 12pt; FONT-FAMILY: arial, helvetica, sans-serif"><FONT
face="Courier New" size=2></FONT> </DIV></BLOCKQUOTE>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: arial, helvetica, sans-serif"><FONT
face="Courier New" size=2>Usually the problem is when you put the wrong
packet.dll in a folder (e.g. you wrongly put the x64 build in
sysWOW64).</FONT></DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; FONT-SIZE: 12pt; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px; FONT-FAMILY: times new roman, new york, times, serif">
<DIV
style="FONT-SIZE: 12pt; FONT-FAMILY: arial, helvetica, sans-serif"><FONT
face="Courier New" size=2></FONT> </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"><FONT
face="Courier New" size=2></FONT> </DIV></BLOCKQUOTE>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: arial, helvetica, sans-serif"><FONT
face="Courier New" size=2>If you want you can attach small (jpg) images to the
emails. There is no problem in that.</FONT></DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: arial, helvetica, sans-serif"><FONT
face="Courier New" size=2></FONT> </DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: arial, helvetica, sans-serif"><FONT
face="Courier New" size=2>GV</FONT></DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: arial, helvetica, sans-serif"><FONT
face="Courier New" size=2></FONT> </DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; FONT-SIZE: 12pt; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px; FONT-FAMILY: times new roman, new york, times, serif">
<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>
<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>
<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>