Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: Re: [Wireshark-dev] Problem compiling Wireshark 1.6.1

From: Helge Kruse <Helge.Kruse-nospam@xxxxxxx>
Date: Sun, 28 Aug 2011 08:27:55 +0200
Am 22.08.2011 22:24, schrieb Andreas:
mt.exe -nologo -manifest "zlib1.dll.manifest"
-outputresource:zlib1.dll;2

The last command always crashes. The tool mt.exe loads zlib1.dll to
memory and doesn't find the correct run-time library.

This behavior is the same when I compile any other (not Wireshark related) project, that uses this old style (?) of integrating a manifest in a DLL:
/nologo /outputresource:".\Release\FooDissector.dll;#2"

Another approach seems to be to compile the manifest as a resource and include it with the linker to the executable.

Despite this change there must be something wrong with my build machine not with the Wireshark environment. I will have to check that. I would like to avoid John Allen Miller's solution: http://kuerzer.de/6AWCrWL7x

--
Andy