https://bugs.winehq.org/show_bug.cgi?id=56835
--- Comment #5 from mushu csumushu@126.com --- (In reply to Hans Leidekker from comment #4)
(In reply to mushu from comment #3)
(In reply to Hans Leidekker from comment #2)
(In reply to mushu from comment #1)
Created attachment 76647 [details] winpcap demo
The C program is designed to validate the functionality of WinPcap, and it’s unrelated to the error mentioned in the title.
Thanks, could you also attach a compiled program? Are you using a new style wow64 build?
Sorry, due to network restrictions, I am unable to upload binary programs. I am using MinGW GCC on Windows to compile. I downloaded the WinPcap development package and placed ‘demo.c’ inside. I ran the command ‘gcc demu.c -o demu.exe -I./Include/ -L./Lib/x64/ -lwpcap -g’
It works fine here on current git Wine. Can you attach a WINEDEBUG=+wpcap log?
In the latest version 9.0, there is no issue with WinPcap library support; this problem appeared in Wine 8.0. However, in Wine 9.0, there is a memory allocation problem when running our Windows program. So, I encountered two different issues in two versions: the WinPcap library support problem in Wine 8.0 and the memory allocation problem in Wine 9.0.