ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-dev: Re: [Wireshark-dev] 64 and 32 bit

From: Gerald Combs <gerald@xxxxxxxxxxxxx>
Date: Tue, 28 Sep 2010 14:24:20 -0700
oleksab@xxxxxxxxxxxxxxxxxxxxxx wrote:
> Wiresharkers
> 
> So to switch back and fourth between creating a 32 bit .dll file and a 64
> bit .dll file all I have to do is change the following in the config.nmake
> file..?
> 
> WIRESHARK_TARGET_PLATFORM=win32
> 
> OR
> 
> WIRESHARK_TARGET_PLATFORM=win64
> 
> And the compiler will know what libs to use from the above changes..??
> 
> Just wanted to make sure.

You have to tell the compiler which platform you're targeting, e.g.

c:\Program Files (x86)\Microsoft Visual Studio \
    9.0\VC\vcvarsall.bat x86_amd64

More information can be found at
http://msdn.microsoft.com/en-us/library/x4d2c09s%28v=VS.90%29.aspx