Click here to Skip to main content
15,919,778 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: how to find which lib is a function in? Pin
SilentSilent6-Mar-06 4:17
SilentSilent6-Mar-06 4:17 
GeneralRe: how to find which lib is a function in? Pin
derek76-Mar-06 13:51
derek76-Mar-06 13:51 
Questionconcatenation Pin
srija6-Mar-06 1:48
srija6-Mar-06 1:48 
AnswerRe: concatenation Pin
Divyang Mithaiwala6-Mar-06 2:27
Divyang Mithaiwala6-Mar-06 2:27 
GeneralRe: concatenation Pin
srija6-Mar-06 3:13
srija6-Mar-06 3:13 
GeneralRe: concatenation Pin
toxcct6-Mar-06 3:28
toxcct6-Mar-06 3:28 
QuestionExitProcess and exit() Pin
derek76-Mar-06 1:39
derek76-Mar-06 1:39 
AnswerRe: ExitProcess and exit() Pin
Stephen Hewitt6-Mar-06 1:47
Stephen Hewitt6-Mar-06 1:47 
ExitProcess is part of the Win32 API - It's the low level function you call to exit a process. There is a more vicious version called TerminateProcess. exit is a CRT (C Runtime Library) function; every C/C++ compiler will have this function. On Windows it will be implemented in terms on ExitProcess but it will do some "house work" before hand. For example using the CRT function atexit you can register a function to be called when the process exits - If you use ExitProcess you will short-circuit the CRT code which calls them.

My advice would be that if you're not sure of the difference play it safe and use exit.

Steve
QuestionList Box Pin
J51219826-Mar-06 1:20
J51219826-Mar-06 1:20 
AnswerRe: List Box Pin
Hamid_RT6-Mar-06 1:29
Hamid_RT6-Mar-06 1:29 
GeneralRe: List Box Pin
toxcct6-Mar-06 1:56
toxcct6-Mar-06 1:56 
AnswerRe: List Box Pin
Stephen Hewitt6-Mar-06 1:49
Stephen Hewitt6-Mar-06 1:49 
AnswerRe: List Box Pin
gamitech6-Mar-06 2:12
gamitech6-Mar-06 2:12 
QuestionHow to create Web Setup package Pin
mahammadhusen6-Mar-06 1:10
mahammadhusen6-Mar-06 1:10 
QuestionChanging the color of dialog box Pin
Aryan S6-Mar-06 1:06
Aryan S6-Mar-06 1:06 
AnswerRe: Changing the color of dialog box Pin
Nibu babu thomas6-Mar-06 1:11
Nibu babu thomas6-Mar-06 1:11 
QuestionRe: Changing the color of dialog box Pin
Aryan S6-Mar-06 1:49
Aryan S6-Mar-06 1:49 
AnswerRe: Changing the color of dialog box Pin
Eytukan6-Mar-06 2:51
Eytukan6-Mar-06 2:51 
AnswerRe: Changing the color of dialog box Pin
Hamid_RT6-Mar-06 1:12
Hamid_RT6-Mar-06 1:12 
GeneralRe: Changing the color of dialog box Pin
Aryan S6-Mar-06 1:46
Aryan S6-Mar-06 1:46 
GeneralRe: Changing the color of dialog box Pin
Hamid_RT6-Mar-06 2:52
Hamid_RT6-Mar-06 2:52 
AnswerRe: Changing the color of dialog box Pin
J51219826-Mar-06 1:23
J51219826-Mar-06 1:23 
GeneralRe: Changing the color of dialog box Pin
rajeev826-Mar-06 2:01
rajeev826-Mar-06 2:01 
QuestionREceive events in serial comms Pin
Trollslayer6-Mar-06 0:55
mentorTrollslayer6-Mar-06 0:55 
AnswerRe: REceive events in serial comms Pin
kakan6-Mar-06 1:39
professionalkakan6-Mar-06 1:39 

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.