Click here to Skip to main content
15,845,785 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Which way ? Pin
Great A'Tuin25-Jan-06 22:43
Great A'Tuin25-Jan-06 22:43 
GeneralRe: Which way ? Pin
Bob Stanneveld26-Jan-06 0:08
Bob Stanneveld26-Jan-06 0:08 
GeneralRe: Which way ? Pin
Great A'Tuin26-Jan-06 0:42
Great A'Tuin26-Jan-06 0:42 
QuestionException 0x406d1388 Pin
Phil J Pearson25-Jan-06 4:58
Phil J Pearson25-Jan-06 4:58 
AnswerRe: Exception 0x406d1388 Pin
Toby Opferman26-Jan-06 13:43
Toby Opferman26-Jan-06 13:43 
GeneralRe: Exception 0x406d1388 Pin
Phil J Pearson27-Jan-06 0:47
Phil J Pearson27-Jan-06 0:47 
GeneralRe: Exception 0x406d1388 - FIXED!! Pin
Phil J Pearson27-Jan-06 1:59
Phil J Pearson27-Jan-06 1:59 
AnswerRe: Exception 0x406d1388 - FIXED!! Pin
Phil J Pearson27-Jan-06 1:58
Phil J Pearson27-Jan-06 1:58 
Eureka! I have found it!

After hours of trying various debuggers and debugging strategies, countless cups of good strong tea and not a few words of frustration and annoyance I have located and fixed the problem.

Buried deep in my own initialisation code, in a place I haven't visited for years and had forgotten all about is a call to a function called SetThreadName which uses exception 0x406d1388 Blush | :O . This was being compiled as managed code so the framework was seeing the exception even before the catch block in the same function. The solution was simply to mark that function as unmanaged (and then drink more tea Smile | :) ).

Phil
GeneralRe: Exception 0x406d1388 - FIXED!! Pin
Toby Opferman27-Jan-06 8:14
Toby Opferman27-Jan-06 8:14 
QuestionHow to show a dialog in other desktop? Pin
Amarelia25-Jan-06 4:41
Amarelia25-Jan-06 4:41 
AnswerRe: How to show a dialog in other desktop? Pin
Toby Opferman26-Jan-06 13:45
Toby Opferman26-Jan-06 13:45 
GeneralRe: How to show a dialog in other desktop? Pin
Amarelia26-Jan-06 19:33
Amarelia26-Jan-06 19:33 
GeneralRe: How to show a dialog in other desktop? Pin
Toby Opferman27-Jan-06 8:12
Toby Opferman27-Jan-06 8:12 
Questionfinancial calendar Pin
mk_le25-Jan-06 4:28
mk_le25-Jan-06 4:28 
AnswerRe: financial calendar Pin
Rage25-Jan-06 4:49
professionalRage25-Jan-06 4:49 
GeneralRe: financial calendar Pin
mk_le25-Jan-06 4:58
mk_le25-Jan-06 4:58 
AnswerRe: financial calendar Pin
sps-itsec4625-Jan-06 7:26
sps-itsec4625-Jan-06 7:26 
QuestionEdit Box question Pin
Lampros Giampouras25-Jan-06 3:31
Lampros Giampouras25-Jan-06 3:31 
AnswerRe: Edit Box question Pin
David Crow25-Jan-06 4:36
David Crow25-Jan-06 4:36 
AnswerRe: Edit Box question Pin
Vipin Aravind25-Jan-06 19:49
Vipin Aravind25-Jan-06 19:49 
GeneralRe: Edit Box question Pin
Lampros Giampouras26-Jan-06 2:40
Lampros Giampouras26-Jan-06 2:40 
QuestionWhat Message when changing colwidth on a CListCtrl Pin
AnTri25-Jan-06 2:54
AnTri25-Jan-06 2:54 
AnswerRe: What Message when changing colwidth on a CListCtrl Pin
David Crow25-Jan-06 4:37
David Crow25-Jan-06 4:37 
Questionchange the caption of dialog box dynamically Pin
Aryan S25-Jan-06 2:06
Aryan S25-Jan-06 2:06 
AnswerRe: change the caption of dialog box dynamically Pin
Cedric Moonen25-Jan-06 2:10
Cedric Moonen25-Jan-06 2:10 

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.