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] Win2000 Error: wireshark.exe is not a valid Win32 applicatio

From: Graham Bloice <graham.bloice@xxxxxxxxxxxxx>
Date: Tue, 28 Aug 2007 13:27:23 +0100
Greg Bell wrote:
> Thanks for that reply. I'm glad someone confirmed it works using VC
> 2005EE. What about the Platform SDK, did you use Server 2003 R2?
>  
> Regarding your mods,
> 2. We're referring to C:\wireshark-0.99.6\tools\win32-setup.sh right?
> 3. Do you replace all occurences of xcopy (in if statements only) with
> "c:/WINNT/system32/xcopy"? For example,
> if exist wireshark.pdb xcopy wireshark.pdb $(INSTALL1_DIR) /d
> Becomes:
> if exist wireshark.pdb "c:/WINNT/system32/xcopy" wireshark.pdb
> $(INSTALL1_DIR) /d
>  
> I tried changing my build environment to VC6 and it now works on
> Windows 2000. I may just end up sticking with this build setup, as it
> resolves my issue and seems less problamatic than using VC2005EE. I
> think the "Win32: Step-by-Step Guide" should state at the top that if
> you have VC6, use it instead of 2005EE.
>  
Thus ensuring that we won't get to the bottom of this.

My feeling is that the changes listed above are artefacts of the posters
environment, and not generally necessary.  I'm still inclined to point
the finger at the W2K3 SDK causing the executable to be marked XP or
later.  I'd still be interested in hearing from anyone using the Vista
SDK with VC2005EE.

-- 
Regards,

Graham Bloice