Wireshark mailing list archives
Re: Compiling Wireshark for Win32
From: "Helge Kruse" <Helge.Kruse-nospam () gmx net>
Date: Fri, 12 Aug 2011 12:55:51 +0200
Von: Gisle Vanem <gvanem () broadpark no>link /dll /out:libwireshark.dll /def:libwireshark.def/implib:libwireshark.lib >nul Does it?
Yes.
Where are the .obj files in this command?
There are neither .obj nor .lib input files. The linker will complain about missing externals, that's why the ">nul" is useful. Further it won't generate a DLL as long as you don't pass the /FORCE argument to the linker command. The import library does not contain any information from the actual linking process. All entry point addresses are in the export table of the generated DLL. The import library generates public symbols in a jump table, that are used when linking the consuming module. I also has a DLL loader, that opens the DLL, looks up the entry points from the DLL export table and patches the jumpt table. That's called "load time binding". May be interesting: http://msdn.microsoft.com/en-us/magazine/bb985014.aspx Helge -- Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de ___________________________________________________________________________ Sent via: Wireshark-dev mailing list <wireshark-dev () wireshark org> Archives: http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-request () wireshark org?subject=unsubscribe
Current thread:
- Re: Compiling Wireshark for Win32, (continued)
- Re: Compiling Wireshark for Win32 news.gmane.com (Aug 11)
- Re: Compiling Wireshark for Win32 Alex Lindberg (Aug 11)
- Re: Compiling Wireshark for Win32 news.gmane.com (Aug 11)
- Re: Compiling Wireshark for Win32 Alex Lindberg (Aug 11)
- Re: Compiling Wireshark for Win32 Graham Bloice (Aug 11)
- Re: Compiling Wireshark for Win32 news.gmane.com (Aug 11)
- Re: Compiling Wireshark for Win32 Gerald Combs (Aug 11)
- Re: Compiling Wireshark for Win32 Jeff Morriss (Aug 11)
- Re: Compiling Wireshark for Win32 Gerald Combs (Aug 15)
- Re: Compiling Wireshark for Win32 Helge Kruse (Aug 12)
- Re: Compiling Wireshark for Win32 Gisle Vanem (Aug 12)
- Re: Compiling Wireshark for Win32 Helge Kruse (Aug 12)
- Re: Compiling Wireshark for Win32 Gerald Combs (Aug 15)
- Re: Compiling Wireshark for Win32 Helge Kruse (Aug 15)
- Re: Compiling Wireshark for Win32 Gerald Combs (Aug 16)