Click here to Skip to main content
15,903,854 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: how to add cur resources to any executable by program? Pin
Code-o-mat21-Jul-10 0:21
Code-o-mat21-Jul-10 0:21 
QuestionRe: how to add cur resources to any executable by program? Pin
David Crow21-Jul-10 2:29
David Crow21-Jul-10 2:29 
AnswerRe: how to add cur resources to any executable by program? Pin
nenfa21-Jul-10 4:56
nenfa21-Jul-10 4:56 
QuestionCOleDocObjectItem OnActivateUI Pin
Member 422150720-Jul-10 5:17
Member 422150720-Jul-10 5:17 
QuestionNeeds Inputs regarding Printing in Plotter using MFC Doc / View Print Architecture Pin
She_Jack20-Jul-10 3:55
She_Jack20-Jul-10 3:55 
AnswerRe: Needs Inputs regarding Printing in Plotter using MFC Doc / View Print Architecture Pin
Aescleal20-Jul-10 4:21
Aescleal20-Jul-10 4:21 
GeneralRe: Needs Inputs regarding Printing in Plotter using MFC Doc / View Print Architecture Pin
She_Jack20-Jul-10 4:31
She_Jack20-Jul-10 4:31 
QuestionCompiler Setting VC++ 2008 Pin
T.RATHA KRISHNAN20-Jul-10 2:01
T.RATHA KRISHNAN20-Jul-10 2:01 
AnswerRe: Compiler Setting VC++ 2008 Pin
Jaroslav Kaas20-Jul-10 2:16
Jaroslav Kaas20-Jul-10 2:16 
GeneralRe: Compiler Setting VC++ 2008 Pin
T.RATHA KRISHNAN20-Jul-10 2:49
T.RATHA KRISHNAN20-Jul-10 2:49 
AnswerRe: Compiler Setting VC++ 2008 Pin
Code-o-mat20-Jul-10 2:58
Code-o-mat20-Jul-10 2:58 
AnswerRe: Compiler Setting VC++ 2008 Pin
Aescleal20-Jul-10 3:03
Aescleal20-Jul-10 3:03 
GeneralRe: Compiler Setting VC++ 2008 Pin
T.RATHA KRISHNAN20-Jul-10 3:18
T.RATHA KRISHNAN20-Jul-10 3:18 
GeneralRe: Compiler Setting VC++ 2008 Pin
Aescleal20-Jul-10 3:25
Aescleal20-Jul-10 3:25 
GeneralRe: Compiler Setting VC++ 2008 Pin
T.RATHA KRISHNAN21-Jul-10 2:11
T.RATHA KRISHNAN21-Jul-10 2:11 
QuestionCoInitialize has not been called Pin
MsmVc19-Jul-10 20:41
MsmVc19-Jul-10 20:41 
AnswerRe: CoInitialize has not been called Pin
KarstenK19-Jul-10 21:45
mveKarstenK19-Jul-10 21:45 
AnswerRe: CoInitialize has not been called Pin
Aescleal19-Jul-10 21:45
Aescleal19-Jul-10 21:45 
AnswerRe: CoInitialize has not been called Pin
Niklas L19-Jul-10 21:45
Niklas L19-Jul-10 21:45 
AnswerRe: CoInitialize has not been called Pin
Sauro Viti19-Jul-10 23:22
professionalSauro Viti19-Jul-10 23:22 
QuestionProcess terminates spontaneously - No exception dialogue Pin
shoppinit19-Jul-10 11:04
shoppinit19-Jul-10 11:04 
AnswerRe: Process terminates spontaneously - No exception dialogue Pin
Luc Pattyn19-Jul-10 12:23
sitebuilderLuc Pattyn19-Jul-10 12:23 
GeneralRe: Process terminates spontaneously - No exception dialogue Pin
shoppinit23-Jul-10 2:12
shoppinit23-Jul-10 2:12 
GeneralRe: Process terminates spontaneously - No exception dialogue Pin
Luc Pattyn23-Jul-10 2:25
sitebuilderLuc Pattyn23-Jul-10 2:25 
maybe you are getting the next chunk of I/O data before you're finished dealing with the previous one, so your asynchronous handler (probably the receiver) is breaking in to itself sometimes (or even always). Check your code to see if that is possible, maybe add a nestinglevel counter, in pseudo-code:

int nestingLevel=0;

void myIOhandler(...) {
    nestingLevel++;
    if (nestingLevel>5) {  // or some other number
        log("warning: myIOhandler is being reentered; nestingLevel="+nestingLevel);
    }
    // your normal stuff goes here
    ...
    //
    nestingLevel--;
}


Smile | :)
Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles] Nil Volentibus Arduum
Please use <PRE> tags for code snippets, they preserve indentation, and improve readability.


GeneralRe: Process terminates spontaneously - No exception dialogue Pin
shoppinit27-Jul-10 8:14
shoppinit27-Jul-10 8:14 

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.