Click here to Skip to main content
15,923,006 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Windows 2000 DDK Pin
steve_hsk18-Mar-03 8:01
steve_hsk18-Mar-03 8:01 
GeneralCTabCtrl problem Pin
Brian van der Beek17-Mar-03 22:44
Brian van der Beek17-Mar-03 22:44 
GeneralRe: CTabCtrl problem Pin
Ravi Bhavnani18-Mar-03 2:28
professionalRavi Bhavnani18-Mar-03 2:28 
GeneralRe: CTabCtrl problem Pin
Brian van der Beek18-Mar-03 19:54
Brian van der Beek18-Mar-03 19:54 
GeneralMessageBox from a service ... Pin
Vimal Earnest17-Mar-03 21:16
Vimal Earnest17-Mar-03 21:16 
GeneralRe: MessageBox from a service ... Pin
geo_m17-Mar-03 21:20
geo_m17-Mar-03 21:20 
GeneralRe: MessageBox from a service ... Pin
Vimal Earnest17-Mar-03 22:57
Vimal Earnest17-Mar-03 22:57 
GeneralRe: MessageBox from a service ... Pin
geo_m17-Mar-03 23:10
geo_m17-Mar-03 23:10 
Well, I think, that MB_SERVICE_NOTIFICATION have a little bit better behavior Wink | ;) .
Reason for "undeclared identifier" - you probably didn't set the windows version macros.

Just simply put following snippet before you will include <windows.h> header (usually included in stdafx.h)

<br />
// Allow use of features specific to Windows 95 and Windows NT 4 or later.<br />
#ifndef WINVER <br />
#define WINVER 0x0400<br />
#endif<br />
<br />
// Allow use of features specific to Windows NT 4 or later.<br />
#ifndef _WIN32_WINNT<br />
#define _WIN32_WINNT 0x0400<br />
#endif						<br />
<br />
// Allow use of features specific to Windows 98 or later.<br />
#ifndef _WIN32_WINDOWS<br />
#define _WIN32_WINDOWS 0x0410 <br />
#endif<br />
<br />
// Allow use of features specific to IE 4.0 or later.<br />
#ifndef _WIN32_IE<br />
#define _WIN32_IE 0x0400<br />
#endif<br />

GeneralRe: MessageBox from a service ... Pin
Vimal Earnest17-Mar-03 23:43
Vimal Earnest17-Mar-03 23:43 
GeneralRe: MessageBox from a service ... Pin
praveenpnayak20-Mar-03 21:50
praveenpnayak20-Mar-03 21:50 
GeneralMember list not shown Pin
JensB17-Mar-03 20:16
JensB17-Mar-03 20:16 
GeneralProblems in packet blocking Pin
summo17-Mar-03 19:38
summo17-Mar-03 19:38 
GeneralRe: Problems in packet blocking Pin
geo_m17-Mar-03 23:02
geo_m17-Mar-03 23:02 
Generalexception in user.exe Pin
Raghunandan S17-Mar-03 19:08
Raghunandan S17-Mar-03 19:08 
GeneralNetwork users Pin
Mr Bose Dayala17-Mar-03 18:38
Mr Bose Dayala17-Mar-03 18:38 
GeneralFileSave dialog comes up with Default User settings when .exe is launched from a service using CreateProcess() Pin
praveenpnayak17-Mar-03 17:15
praveenpnayak17-Mar-03 17:15 
GeneralRe: FileSave dialog comes up with Default User settings when .exe is launched from a service using CreateProcess() Pin
Nish Nishant17-Mar-03 17:34
sitebuilderNish Nishant17-Mar-03 17:34 
GeneralRe: FileSave dialog comes up with Default User settings when .exe is launched from a service using CreateProcess() Pin
praveenpnayak17-Mar-03 19:08
praveenpnayak17-Mar-03 19:08 
QuestionHow to convert a Unicode text file into Ascii? Pin
Charles Liu17-Mar-03 17:03
Charles Liu17-Mar-03 17:03 
AnswerRe: How to convert a Unicode text file into Ascii? Pin
Dave Bryant17-Mar-03 17:21
Dave Bryant17-Mar-03 17:21 
GeneralDelclaring a static array for use with CImage List! Pin
adonisv17-Mar-03 16:38
adonisv17-Mar-03 16:38 
GeneralRe: Declaring a static array for use with CImage List! Pin
Jambolo17-Mar-03 17:20
Jambolo17-Mar-03 17:20 
Questionpopup yellow information box - HOWTO? Pin
zecodela17-Mar-03 14:42
zecodela17-Mar-03 14:42 
AnswerRe: popup yellow information box - HOWTO? Pin
User 842017-Mar-03 16:00
User 842017-Mar-03 16:00 
GeneralRe: popup yellow information box - HOWTO? Pin
zecodela17-Mar-03 16:32
zecodela17-Mar-03 16:32 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.