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

List:       winpcap-users
Subject:    [Winpcap-users] problems running compiled winpcap program for win x64
From:       Fortunato Cuizon <fortunatocuizon () gmail ! com>
Date:       2014-10-01 8:37:29
Message-ID: CAFq+mM-m_tEx2uoQxtVr+qNEp2K4t9tio-RXgfhPt3Up-4dq+w () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hi

I am trying to compile my program for win x64 with winpcap. although it
compiles ok, it always stops on pcap_open function, "the memory referenced
at x...etc." and also generates a warning, "pointer to int cast...etc."
(something like that) as i suspect because pointers in x64 is 64 bits wide,
i really wanted to really compile my program to x64...can winpcap be really
compiled to x64 or am i missing some steps? (btw, i linked to the x64
winpcap.lib in the devel pack)

my development machine
8gb ram, win 7 x64, using orwell dev c++ tdm gcc 4.8.1 x64/mingw x64 4.9.0

btw
the same program runs fine on 32bit compile, using 32bit library, but
compiling the same using x64, -m64, using the x64 libs doesn't work...
also windump in win 7 x64 works (i suspect its just using the 32bit library
thats why it works just like my 32bit app works)

hope someone can help
fortunato

[Attachment #5 (text/html)]

<div dir="ltr">Hi<div><br></div><div style>I am trying to compile my program for win \
x64 with winpcap. although it compiles ok, it always stops on pcap_open function, \
&quot;the memory referenced at x...etc.&quot; and also generates a warning, \
&quot;pointer to int cast...etc.&quot; (something like that) as i suspect because \
pointers in x64 is 64 bits wide, i really wanted to really compile my program to \
x64...can winpcap be really compiled to x64 or am i missing some steps? (btw, i \
linked to the x64 winpcap.lib in the devel pack)</div><div style><br></div><div \
style>my development machine</div><div style>8gb ram, win 7 x64, using orwell dev c++ \
tdm gcc 4.8.1 x64/mingw x64 4.9.0</div><div style><br></div><div style>btw</div><div \
style>the same program runs fine on 32bit compile, using 32bit library, but compiling \
the same using x64, -m64, using the x64 libs doesn&#39;t work...</div><div style>also \
windump in win 7 x64 works (i suspect its just using the 32bit library thats why it \
works just like my 32bit app works)</div><div style><br></div><div style>hope someone \
can help</div><div style>fortunato</div></div>



_______________________________________________
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