Click here to Skip to main content
15,896,063 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
GeneralRe: Process terminates spontaneously - No exception dialogue Pin
shoppinit6-Aug-10 17:41
shoppinit6-Aug-10 17:41 
AnswerRe: Process terminates spontaneously - No exception dialogue Pin
KarstenK19-Jul-10 21:47
mveKarstenK19-Jul-10 21:47 
Questionerror PRJ0019 Pin
mcdoloand19-Jul-10 8:49
mcdoloand19-Jul-10 8:49 
AnswerRe: error PRJ0019 Pin
Chris Losinger19-Jul-10 9:16
professionalChris Losinger19-Jul-10 9:16 
GeneralRe: error PRJ0019 Pin
mcdoloand20-Jul-10 7:37
mcdoloand20-Jul-10 7:37 
AnswerRe: error PRJ0019 Pin
David Crow20-Jul-10 9:40
David Crow20-Jul-10 9:40 
Questioncompletely restrict mouse movement (including raw data) Pin
3Dizard19-Jul-10 2:23
3Dizard19-Jul-10 2:23 
AnswerRe: completely restrict mouse movement (including raw data) Pin
elchupathingy19-Jul-10 3:37
elchupathingy19-Jul-10 3:37 
QuestionRe: completely restrict mouse movement (including raw data) Pin
3Dizard20-Jul-10 5:45
3Dizard20-Jul-10 5:45 
AnswerRe: completely restrict mouse movement (including raw data) Pin
elchupathingy20-Jul-10 9:44
elchupathingy20-Jul-10 9:44 
AnswerRe: completely restrict mouse movement (including raw data) Pin
Code-o-mat19-Jul-10 4:02
Code-o-mat19-Jul-10 4:02 
GeneralRe: completely restrict mouse movement (including raw data) Pin
elchupathingy19-Jul-10 4:35
elchupathingy19-Jul-10 4:35 
GeneralRe: completely restrict mouse movement (including raw data) Pin
Code-o-mat19-Jul-10 4:42
Code-o-mat19-Jul-10 4:42 
GeneralRe: completely restrict mouse movement (including raw data) Pin
elchupathingy19-Jul-10 4:55
elchupathingy19-Jul-10 4:55 
Questiontry-catch exception Pin
Pryabu18-Jul-10 22:59
Pryabu18-Jul-10 22:59 
AnswerRe: try-catch exception Pin
ShilpiP18-Jul-10 23:07
ShilpiP18-Jul-10 23:07 

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.