Click here to Skip to main content
15,902,938 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Throw Pin
tom groezer5-Jul-07 5:25
tom groezer5-Jul-07 5:25 
GeneralRe: Throw Pin
toxcct5-Jul-07 5:35
toxcct5-Jul-07 5:35 
QuestionRe: Throw Pin
Mark Salsbery5-Jul-07 8:13
Mark Salsbery5-Jul-07 8:13 
AnswerRe: Throw Pin
toxcct5-Jul-07 21:20
toxcct5-Jul-07 21:20 
AnswerRe: Throw Pin
Mark Salsbery5-Jul-07 8:11
Mark Salsbery5-Jul-07 8:11 
GeneralRe: Throw Pin
DevMentor.org9-Jul-07 0:02
DevMentor.org9-Jul-07 0:02 
GeneralRe: Throw Pin
Mark Salsbery9-Jul-07 6:00
Mark Salsbery9-Jul-07 6:00 
GeneralRe: Throw Pin
DevMentor.org9-Jul-07 17:46
DevMentor.org9-Jul-07 17:46 
Mark, yes a copy is always made for all automatic types when passing it around, in fact a copy is made when the object is thrown and placed onto the stack Smile | :)

you just have to vision the exception floating up and backwards through the call chain! Once it's caught by a handler, execution will continue as you found out at the very next statement outside the scope of the catch block. Using a reference means one extra step is spared of not having to copy the exception off the stack and into the catch handler parameter.That slipped my mind till your last note reminded me! and I see your earlier confusion about an object going out of scope before use Big Grin | :-D
GeneralRe: Throw Pin
Mark Salsbery9-Jul-07 17:50
Mark Salsbery9-Jul-07 17:50 
QuestionGet data into child control inside a simple Tab control Pin
ndristephane4-Jul-07 23:54
ndristephane4-Jul-07 23:54 
AnswerRe: Get data into child control inside a simple Tab control Pin
baerten5-Jul-07 1:30
baerten5-Jul-07 1:30 
GeneralRe: Get data into child control inside a simple Tab control Pin
ndristephane5-Jul-07 1:40
ndristephane5-Jul-07 1:40 
QuestionNew to VC++ and MFC Pin
VishuABCDEFG4-Jul-07 23:17
VishuABCDEFG4-Jul-07 23:17 
AnswerRe: New to VC++ and MFC Pin
Christian Graus4-Jul-07 23:27
protectorChristian Graus4-Jul-07 23:27 
GeneralRe: New to VC++ and MFC Pin
VishuABCDEFG5-Jul-07 1:43
VishuABCDEFG5-Jul-07 1:43 
AnswerRe: New to VC++ and MFC Pin
CPallini4-Jul-07 23:30
mveCPallini4-Jul-07 23:30 
AnswerRe: New to VC++ and MFC Pin
Hamid_RT5-Jul-07 1:30
Hamid_RT5-Jul-07 1:30 
AnswerRe: New to VC++ and MFC Pin
Kevin McFarlane5-Jul-07 2:35
Kevin McFarlane5-Jul-07 2:35 
AnswerRe: New to VC++ and MFC Pin
Joe Woodbury5-Jul-07 10:08
professionalJoe Woodbury5-Jul-07 10:08 
AnswerRe: New to VC++ and MFC Pin
DevMentor.org9-Jul-07 18:08
DevMentor.org9-Jul-07 18:08 
QuestionIs there any standard for returning values from a function? Pin
Mushtaque Nizamani4-Jul-07 21:47
Mushtaque Nizamani4-Jul-07 21:47 
AnswerRe: Is there any standard for returning values from a function? Pin
toxcct4-Jul-07 22:39
toxcct4-Jul-07 22:39 
AnswerRe: Is there any standard for returning values from a function? Pin
CPallini4-Jul-07 23:12
mveCPallini4-Jul-07 23:12 
AnswerRe: Is there any standard for returning values from a function? Pin
Kenan Aksoy5-Jul-07 0:41
Kenan Aksoy5-Jul-07 0:41 
GeneralRe: Is there any standard for returning values from a function? Pin
Mark Salsbery5-Jul-07 8:22
Mark Salsbery5-Jul-07 8:22 

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.