Click here to Skip to main content
15,914,447 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionWhat is meaning is the "X" in "AFX"? Pin
Maer72727-Aug-01 3:21
Maer72727-Aug-01 3:21 
AnswerRe: What is meaning is the Pin
Steen Krogsgaard27-Aug-01 4:21
Steen Krogsgaard27-Aug-01 4:21 
GeneralRe: What is meaning is the Pin
Maer72727-Aug-01 4:46
Maer72727-Aug-01 4:46 
GeneralRe: What is meaning is the Pin
Steen Krogsgaard27-Aug-01 4:51
Steen Krogsgaard27-Aug-01 4:51 
GeneralRe: What is meaning is the Pin
Maer72727-Aug-01 17:56
Maer72727-Aug-01 17:56 
GeneralRe: What is meaning is the Pin
Steen Krogsgaard28-Aug-01 2:55
Steen Krogsgaard28-Aug-01 2:55 
Questionwhat means "exited with code"? Pin
Maer72727-Aug-01 3:19
Maer72727-Aug-01 3:19 
AnswerRe: what means Pin
Steen Krogsgaard27-Aug-01 4:36
Steen Krogsgaard27-Aug-01 4:36 
The exit code is a number the program returns to the calling process. In the ol' DOS days you could access this code throught the enviroment variable ERRORLEVEL. When you terminate a thread (and the program if it's the program's main thread) through a call to exit, _exit, _endthreadex or ExitThread (or a number of other similar functions that I'm not aware of) you can pass an int which will become the exit code (or, at least for exit, the low-order byte will become the exit code.

The meaning of the exit code is entirely up to the terminating thread. Usually zero indicates normal termination.

Cheers
Steen.

"To claim that computer games influence children is rediculous. If Pacman had influenced children born in the 80'ies we would see a lot of youngsters running around in dark rooms eating pills while listening to monotonous music"
GeneralRe: what means Pin
Maer72727-Aug-01 17:26
Maer72727-Aug-01 17:26 
GeneralSorting in a CListCtrl Pin
27-Aug-01 2:34
suss27-Aug-01 2:34 
GeneralRe: Sorting in a CListCtrl Pin
Tomasz Sowinski27-Aug-01 10:28
Tomasz Sowinski27-Aug-01 10:28 
GeneralRun-Time Objects Pin
MAXS72U27-Aug-01 1:31
MAXS72U27-Aug-01 1:31 
GeneralRe: Run-Time Objects Pin
27-Aug-01 2:10
suss27-Aug-01 2:10 
GeneralRe: Run-Time Objects Pin
MAXS72U27-Aug-01 4:31
MAXS72U27-Aug-01 4:31 
GeneralRe: Run-Time Objects Pin
Ganesh Ramaswamy27-Aug-01 5:38
Ganesh Ramaswamy27-Aug-01 5:38 
Generalsimple message loop question Pin
Kuniva27-Aug-01 1:30
Kuniva27-Aug-01 1:30 
GeneralRe: simple message loop question Pin
Ganesh Ramaswamy27-Aug-01 5:40
Ganesh Ramaswamy27-Aug-01 5:40 
Generalaccessing NT registry for different users Pin
Raja27-Aug-01 1:30
Raja27-Aug-01 1:30 
GeneralRe: accessing NT registry for different users Pin
Tomasz Sowinski27-Aug-01 10:33
Tomasz Sowinski27-Aug-01 10:33 
GeneralRe: accessing NT registry for different users Pin
Raja27-Aug-01 18:28
Raja27-Aug-01 18:28 
Question3-state pushbuttons?? Pin
27-Aug-01 1:07
suss27-Aug-01 1:07 
AnswerRe: 3-state pushbuttons?? Pin
Michael P Butler27-Aug-01 1:42
Michael P Butler27-Aug-01 1:42 
QuestionWhat is term "_thiscall" mean? Pin
Maer72727-Aug-01 0:59
Maer72727-Aug-01 0:59 
AnswerRe: What is term Pin
Ganesh Ramaswamy27-Aug-01 4:50
Ganesh Ramaswamy27-Aug-01 4:50 
GeneralRe: What is term Pin
Maer72727-Aug-01 17:34
Maer72727-Aug-01 17:34 

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.