https://bugs.winehq.org/show_bug.cgi?id=56871
Bug ID: 56871 Summary: The 32-bit wpcap program is working abnormally Product: Wine Version: 9.0 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: wpcap Assignee: wine-bugs@winehq.org Reporter: csumushu@126.com Distribution: ---
wine version: 9.0 os version: ubuntu 24.04
I used Visual Studio 2010 to compile the code in the attachment into a 32-bit release version of the Windows program. When running the program with Wine, the length of the data packets captured by the program is abnormal when the network card receives ping packets. The program output is as follows: Packet captured: Packet length: 2139105536 Number of bytes: 2139115008
Additionally, compiling the code into a 64-bit release version of the Windows program works normally. Another issue is that if I rename the file at ~/.wine/drive_c/windows/syswow64/wpcap.dll to wpcap_bak.dll, the 32-bit test program cannot start, indicating a failure to load the DLL file. If I rename the file at ~/.wine/drive_c/windows/system32/wpcap.dll to wpcap_bak.dll, the 64-bit test program cannot start either, also indicating a failure to load the DLL file. Are their placement positions reversed?