Click here to Skip to main content
15,893,622 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Give me a sample of a function returning bitset (STL) Pin
toxcct7-Nov-07 23:11
toxcct7-Nov-07 23:11 
QuestionPrint Problem Pin
Md. Mazharul Islam Khan7-Nov-07 18:35
Md. Mazharul Islam Khan7-Nov-07 18:35 
AnswerRe: Print Problem Pin
Nelek7-Nov-07 21:29
protectorNelek7-Nov-07 21:29 
AnswerRe: Print Problem Pin
Mark Salsbery8-Nov-07 5:29
Mark Salsbery8-Nov-07 5:29 
Questionexception handline in MAC Pin
MKUser7-Nov-07 18:33
MKUser7-Nov-07 18:33 
AnswerRe: exception handline in MAC Pin
Matthew Faithfull7-Nov-07 23:15
Matthew Faithfull7-Nov-07 23:15 
GeneralRe: exception handline in MAC Pin
MKUser8-Nov-07 15:25
MKUser8-Nov-07 15:25 
GeneralRe: exception handline in MAC Pin
Matthew Faithfull8-Nov-07 22:36
Matthew Faithfull8-Nov-07 22:36 
I know very little about gcc or and even less about exception handling with gcc or xcode so my advice may not be good. Still I would stick to strict ANSI C++ exception handling rules as that is what gcc is most likely to support. You can forget about SEH (Structured Exception Handling) it's an Operating System exception mechanism which may not be available on the MAC and almost certainly not under gcc.
What will work under gcc pretty much anywhere are Standard Library exceptions. Have a look at std::exception and derived classes to see if you can get any examples to work. If you can get a std::exeception to work you can debug through what it does and see how it uses primary exception handling internally. This should give you what you need even if you can't use std::exception directly. Good luck.Smile | :)

Nothing is exactly what it seems but everything with seems can be unpicked.

GeneralRe: exception handline in MAC Pin
MKUser11-Nov-07 17:17
MKUser11-Nov-07 17:17 
GeneralRe: exception handline in MAC Pin
Matthew Faithfull11-Nov-07 22:31
Matthew Faithfull11-Nov-07 22:31 
GeneralRe: exception handline in MAC Pin
MKUser12-Nov-07 21:21
MKUser12-Nov-07 21:21 
GeneralRe: exception handline in MAC Pin
Matthew Faithfull13-Nov-07 5:33
Matthew Faithfull13-Nov-07 5:33 
QuestionProblem with memory Allocation and deallocation Pin
manish.patel7-Nov-07 18:20
manish.patel7-Nov-07 18:20 
AnswerRe: Problem with memory Allocation and deallocation Pin
sudarshan1247-Nov-07 19:53
sudarshan1247-Nov-07 19:53 
GeneralRe: Problem with memory Allocation and deallocation Pin
manish.patel7-Nov-07 20:09
manish.patel7-Nov-07 20:09 
GeneralRe: Problem with memory Allocation and deallocation Pin
toxcct8-Nov-07 2:12
toxcct8-Nov-07 2:12 
AnswerRe: Problem with memory Allocation and deallocation Pin
Cedric Moonen7-Nov-07 20:05
Cedric Moonen7-Nov-07 20:05 
GeneralRe: Problem with memory Allocation and deallocation Pin
manish.patel7-Nov-07 20:15
manish.patel7-Nov-07 20:15 
GeneralRe: Problem with memory Allocation and deallocation Pin
Cedric Moonen7-Nov-07 20:18
Cedric Moonen7-Nov-07 20:18 
GeneralRe: Problem with memory Allocation and deallocation Pin
manish.patel7-Nov-07 21:16
manish.patel7-Nov-07 21:16 
GeneralRe: Problem with memory Allocation and deallocation Pin
Cedric Moonen7-Nov-07 21:23
Cedric Moonen7-Nov-07 21:23 
GeneralRe: Problem with memory Allocation and deallocation Pin
Nelek7-Nov-07 21:27
protectorNelek7-Nov-07 21:27 
QuestionRe: Problem with memory Allocation and deallocation Pin
Roger Broomfield7-Nov-07 21:26
Roger Broomfield7-Nov-07 21:26 
QuestionRe: Problem with memory Allocation and deallocation Pin
David Crow8-Nov-07 3:37
David Crow8-Nov-07 3:37 
AnswerRe: Problem with memory Allocation and deallocation Pin
Bram van Kampen10-Nov-07 16:02
Bram van Kampen10-Nov-07 16:02 

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.