Click here to Skip to main content
15,917,793 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Which way ? Pin
Great A'Tuin25-Jan-06 21:43
Great A'Tuin25-Jan-06 21:43 
GeneralRe: Which way ? Pin
Bob Stanneveld25-Jan-06 23:08
Bob Stanneveld25-Jan-06 23:08 
GeneralRe: Which way ? Pin
Great A'Tuin25-Jan-06 23:42
Great A'Tuin25-Jan-06 23:42 
QuestionException 0x406d1388 Pin
Phil J Pearson25-Jan-06 3:58
Phil J Pearson25-Jan-06 3:58 
AnswerRe: Exception 0x406d1388 Pin
Toby Opferman26-Jan-06 12:43
Toby Opferman26-Jan-06 12:43 
GeneralRe: Exception 0x406d1388 Pin
Phil J Pearson26-Jan-06 23:47
Phil J Pearson26-Jan-06 23:47 
GeneralRe: Exception 0x406d1388 - FIXED!! Pin
Phil J Pearson27-Jan-06 0:59
Phil J Pearson27-Jan-06 0:59 
AnswerRe: Exception 0x406d1388 - FIXED!! Pin
Phil J Pearson27-Jan-06 0:58
Phil J Pearson27-Jan-06 0: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 7:14
Toby Opferman27-Jan-06 7:14 
QuestionHow to show a dialog in other desktop? Pin
Amarelia25-Jan-06 3:41
Amarelia25-Jan-06 3:41 
AnswerRe: How to show a dialog in other desktop? Pin
Toby Opferman26-Jan-06 12:45
Toby Opferman26-Jan-06 12:45 
GeneralRe: How to show a dialog in other desktop? Pin
Amarelia26-Jan-06 18:33
Amarelia26-Jan-06 18:33 
GeneralRe: How to show a dialog in other desktop? Pin
Toby Opferman27-Jan-06 7:12
Toby Opferman27-Jan-06 7:12 
Questionfinancial calendar Pin
mk_le25-Jan-06 3:28
mk_le25-Jan-06 3:28 
AnswerRe: financial calendar Pin
Rage25-Jan-06 3:49
professionalRage25-Jan-06 3:49 
GeneralRe: financial calendar Pin
mk_le25-Jan-06 3:58
mk_le25-Jan-06 3:58 
AnswerRe: financial calendar Pin
sps-itsec4625-Jan-06 6:26
sps-itsec4625-Jan-06 6:26 
QuestionEdit Box question Pin
Lampros Giampouras25-Jan-06 2:31
Lampros Giampouras25-Jan-06 2:31 
AnswerRe: Edit Box question Pin
David Crow25-Jan-06 3:36
David Crow25-Jan-06 3:36 
AnswerRe: Edit Box question Pin
Vipin Aravind25-Jan-06 18:49
Vipin Aravind25-Jan-06 18:49 
GeneralRe: Edit Box question Pin
Lampros Giampouras26-Jan-06 1:40
Lampros Giampouras26-Jan-06 1:40 
QuestionWhat Message when changing colwidth on a CListCtrl Pin
AnTri25-Jan-06 1:54
AnTri25-Jan-06 1:54 
AnswerRe: What Message when changing colwidth on a CListCtrl Pin
David Crow25-Jan-06 3:37
David Crow25-Jan-06 3:37 
Questionchange the caption of dialog box dynamically Pin
Aryan S25-Jan-06 1:06
Aryan S25-Jan-06 1:06 
AnswerRe: change the caption of dialog box dynamically Pin
Cedric Moonen25-Jan-06 1:10
Cedric Moonen25-Jan-06 1: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.