flat assembler
Message board for the users of flat assembler.

Index > Heap > PacketGetAdapterNames not work

Author
Thread Post new topic Reply to topic
zxcv
Guest




zxcv
PacketGetAdapterNames from packet.dll does not work, program crash. Help please!
Post 27 Dec 2007, 15:34
Reply with quote
LocoDelAssembly
Your code has a bug


Joined: 06 May 2005
Posts: 4633
Location: Argentina
LocoDelAssembly
A lot of information about the problem!!!

Well I hope that with my solution you fixed the problem Smile
Post 27 Dec 2007, 15:44
View user's profile Send private message Reply with quote
zxcv
Guest




zxcv
hum i cant give you more info because i dont have it^^
i call PacketGetAdapterNames and crash!

i was hoping that someone here had this problem, i googled but no results =/

i tried to ollydbg it, but im not good at it.

ill upload packet.dll:


Description:
Download
Filename: packet.zip
Filesize: 33.62 KB
Downloaded: 94 Time(s)

Post 27 Dec 2007, 15:58
Reply with quote
LocoDelAssembly
Your code has a bug


Joined: 06 May 2005
Posts: 4633
Location: Argentina
LocoDelAssembly
You are using an internal API instead of Wpcap.dll http://www.winpcap.org/docs/docs_40_2/html/group__internals.html

Seems that there is no documentation of packet.dll anymore and you must check sources to figure out how to use it (or pass Doxygen on them but I'm fully ignorant about such utility).

Why don't you just use the correct API? Check the tutorial http://www.winpcap.org/docs/docs_40_2/html/group__wpcap__tut1.html

PS: And of course, I was expecting YOUR code, not the DLL that is very unlikely to be bugged
Post 27 Dec 2007, 17:37
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar.

Powered by rwasa.