Re: Header Files out of sysnc with system dlls (shellapi.h)

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: E Zapata (user_at_invalid.domain)
Date: 06/25/04


Date: Fri, 25 Jun 2004 12:07:32 -0500

On Fri, 25 Jun 2004 08:48:31 -0700, "kmcmanus"
<kmcmanus@discussions.microsoft.com> wrote:

>I have recently installed Visual Studio 6 and Service Pack 4 on my Win2k SP4 machine. I have written a program in C++ that uses the balloons that pop up in the system tray. This code does not compile with the following errors (just a subset):
>
>error C2065: 'NOTIFYICONDATA_V2_SIZE' : undeclared identifier
>error C2065: 'NIF_INFO' : undeclared identifier
>error C2039: 'uTimeout' : is not a member of '_NOTIFYICONDATAA'
>error C2039: 'dwInfoFlags' : is not a member of '_NOTIFYICONDATAA'
>error C2039: 'szInfo' : is not a member of '_NOTIFYICONDATAA'
>error C2039: 'szInfoTitle' : is not a member of '_NOTIFYICONDATAA'
>
>according to the following link, these are declared in the struct in shellapi.h
>http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/shell/reference/structures/notifyicondata.asp
>
>however when I inspect my version (C:\Program Files\Microsoft Visual Studio\VC98\Include\shellapi.h) I find a different (older) version of this struct.
>
>If I go to c:\winnt\system32\shell32.dll and right click->properties->version I see that my version is 5.0.3700.6705. This is greater than 5 which is that value that is required to get the calls to work.
>
>I believe that the header files are out of date, can some one tell me how I can get the latest versions as installing the service pack didn't work.
>
>Many thanks in advance.

You will need an updated Platform SDK. Try looking at
http://www.microsoft.com/msdownload/platformsdk/sdkupdate/



Relevant Pages

  • Re: Where is struct: _OSVERSIONINFOEX ?
    ... > I am working with Windows MCE and Visual Studio 6.0 met Service Pack 6. ... > But the struct isn't defined in the headerfile on my hard disk. ... > need a new library and new header files. ...
    (microsoft.public.vstudio.general)
  • Header files out of sync with system dlls (shellapi.h)
    ... error C2065: 'NIF_INFO': undeclared identifier ... these are declared in the struct in shellapi.h ... I believe that the header files are out of date, can some one tell me how I can get the latest versions as installing the service pack didn't work. ...
    (microsoft.public.vstudio.general)
  • Header Files out of sysnc with system dlls (shellapi.h)
    ... error C2065: 'NIF_INFO': undeclared identifier ... these are declared in the struct in shellapi.h ... I believe that the header files are out of date, can some one tell me how I can get the latest versions as installing the service pack didn't work. ...
    (microsoft.public.vstudio.general)
  • Header Files out of sysnc with system dlls (shellapi.h)
    ... error C2065: 'NIF_INFO': undeclared identifier ... these are declared in the struct in shellapi.h ... I believe that the header files are out of date, can some one tell me how I can get the latest versions as installing the service pack didn't work. ...
    (microsoft.public.vstudio.general)
  • Header files out of Sync with system dlls (shellapi.h)
    ... error C2065: 'NIF_INFO': undeclared identifier ... these are declared in the struct in shellapi.h ... I believe that the header files are out of date, can some one tell me how I can get the latest versions as installing the service pack didn't work. ...
    (microsoft.public.vstudio.general)