Wireshark-dev: Re: [Wireshark-dev] VC6 compile error related to Win64 change
From: Gerald Combs <gerald@xxxxxxxxxxxxx>
Date: Thu, 16 Apr 2009 11:29:47 -0700
Bill Meier wrote:
> Error received when building with VC6:
> 
> 
>   file_dlg_win32.c(182) : warning C4013: 'GetWindowLongPtr' undefined;
>   assuming extern returning int
> 
>   file_dlg_win32.c(182) : error C2065: 'GWLP_HINSTANCE' : undeclared
>   identifier

I added #if sections to use GetWindowLong if we're compiling with VC6,
and GetWindowLongPtr otherwise.

> Is VC6 still being supported for WIN32 ?

...unfortunately recent changes to capture_if_details_dlg_win32.c might
break VC6 compilation. As we move towards Win64, we seem to be moving
away from VC6. We might end up losing VC6 support, or at least requiring
the installation of a newer platform SDK.