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

C / C++ / MFC

 
QuestionGive me a sample of a function returning bitset (STL) Pin
Ontanggabe Parulian7-Nov-07 20:18
Ontanggabe Parulian7-Nov-07 20:18 
AnswerRe: Give me a sample of a function returning bitset (STL) Pin
CPallini7-Nov-07 21:16
mveCPallini7-Nov-07 21:16 
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 
Exception handling is a cooperative effort between the OS, the C Library, code injected at compile time by the compiler and your code. One of these is not doing its job. Your next step probably needs to be to find out which. Make sure that C++ exception handling or SEH or both are enabled in your project, that should take care of the Compiler. Make sure if you need SEH that your OS supports it. Make sure you're using a C Library like MSVCRT that has the necessary support in it for Exception handling and if necessary rebuild it with different options to support your OS and the exception handling you need. If all this is good you should be able to debug the exception handling process itself, at least at the assembler level and get some idea of what is and isn't working. All sort of things like switching off Thread Local Storage support can break exception handling, even mixing code compiled on different Visual Studio versions. If your stack works differently on the MAC then stack unwinding is different, even processor register map differences could in theory break an implementation. EH is still a black art I'm afraid and you may need to get your hands dirty if your root problem is not straight forward. Good Luck Smile | :)

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

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 
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 

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.