'MIIM_STRING' : undeclared identifier
-
error C2065: 'MIIM_STRING' : undeclared identifier Why am I getting this error? I didn't before, but suddenly all my system-tray projects do. I've got WindownXP and I've installed the Microsoft Platform SDK (May 2002). Is there something wrong with my VC++ settings, since MIIM_STRING should exist since Windows98 or something. I am also experiencing other weirdnesses like this: 'DialogBoxParamA' : cannot convert parameter 4 from 'long (struct HWND__ *,unsigned int,unsigned int,long)' to 'int (__stdcall *)(struct HWND__ *,unsigned int,unsigned int This error suddenly came up in one of my projects which previously compiled just fine. The param is a DLGPROC which is declared (and the definition is similar) like this: INT_PTR CALLBACK ConfigDialogProc(HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam); This is correct according to the Platform SDK Documentation. INT_PTR is a long obviously but DialogBoxParamA wants it to be an int. What's up?! And I'm sure there are other things; I haven't bothered opening up all my old projects just to check... Please help me. I'm desperate :confused: :confused: :confused: Sprudling
-
error C2065: 'MIIM_STRING' : undeclared identifier Why am I getting this error? I didn't before, but suddenly all my system-tray projects do. I've got WindownXP and I've installed the Microsoft Platform SDK (May 2002). Is there something wrong with my VC++ settings, since MIIM_STRING should exist since Windows98 or something. I am also experiencing other weirdnesses like this: 'DialogBoxParamA' : cannot convert parameter 4 from 'long (struct HWND__ *,unsigned int,unsigned int,long)' to 'int (__stdcall *)(struct HWND__ *,unsigned int,unsigned int This error suddenly came up in one of my projects which previously compiled just fine. The param is a DLGPROC which is declared (and the definition is similar) like this: INT_PTR CALLBACK ConfigDialogProc(HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam); This is correct according to the Platform SDK Documentation. INT_PTR is a long obviously but DialogBoxParamA wants it to be an int. What's up?! And I'm sure there are other things; I haven't bothered opening up all my old projects just to check... Please help me. I'm desperate :confused: :confused: :confused: Sprudling