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: Greg Bell <greg_bell_12@xxxxxxxxx>
Date: Wed, 22 Aug 2007 08:14:51 -0700 (PDT)
Here are the result of the where nmake/cl/link/mt:
 
where nmake
C:\Program Files\Microsoft Visual Studio 8\VC\bin\nmake.exe
C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Bin\nmake.exe
C:\Program Files\Microsoft Visual Studio\VC98\Bin\NMAKE.EXE
where cl
C:\Program Files\Microsoft Visual Studio 8\VC\bin\cl.exe
C:\Program Files\Microsoft Visual Studio\VC98\Bin\CL.EXE
where link
C:\Program Files\Microsoft Visual Studio 8\VC\bin\link.exe
C:\Program Files\Microsoft Visual Studio\VC98\Bin\LINK.EXE
where mt
C:\Program Files\Microsoft Visual Studio 8\VC\bin\mt.exe
C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Bin\mt.exe
 
I have Visual C++ 6.0 installed on this system as well; would using this compiler help? I use Visual 2005 EE because its recommended in the Win32 build guide.
 
Thanks,
Greg


Graham Bloice <graham.bloice@xxxxxxxxxxxxx> wrote:
Greg Bell wrote:
> This is what I get when I try and run my wireshark build on Windows
> 2000. It works fine on Windows XP and 2003. My build is based off
> the 0.99.6 release source. One thing I noticed was that when trying to
> install the Visual C++ 2005 Redistributable (during the Wireshark
> install), it gave a "Error 1723. There is a problem with this Windows
> Installer package...". Is there any compatibility issues with this and
> Windows 2000?
>
> Someone had this problem before, but it seems no solution was found:
>
> [Wireshark-dev] Error: wireshark.exe is not a valied Win32 application
> http://www.wireshark.org/lists/wireshark-dev/200706/msg00123.html
>
> Also, the Windows 2000 "problems to avoid" in
> http://wiki.wireshark.org/BuildingAndInstalling
> I don't understand.
>
> I'm using Visual C++ 2005 Express Edition, Platform SDK Server 2003
> R2, and C-Runtime redistributable for Visual C++ 2005 Express Edition
> (vcredist_x86.exe) for the installer.
>
> Any help is greatly appreciated. Thanks!

Regarding the "Not a valid win32 app" on W2K, as best as I could work
out, this is an issue introduced by the manifest compiler\linker
contained within the W2K3 Platform SDK. This might have been fixed in
the Vista SDK, but as I don't (currently) use that I'm not sure. What I
can tell you is that that the SDK supplied with VS2005 Professional does
work, but that's not much help to you with EE.

Can you post the results of using "where " for the commands
"nmake", "cl", "link" and "mt" in your build environment?

If anyone else is building with VS 2005 EE *and* the resulting
executables work on W2K, can they please post what SDK they are using.

--
Regards,

Graham Bloice

_______________________________________________
Wireshark-dev mailing list
Wireshark-dev@xxxxxxxxxxxxx
http://www.wireshark.org/mailman/listinfo/wireshark-dev


Got a little couch potato?
Check out fun summer activities for kids.