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

C / C++ / MFC

 
GeneralRe: RegGetValue / Win32 Pin
Fareed Rizkalla3-Oct-10 3:21
Fareed Rizkalla3-Oct-10 3:21 
GeneralRe: RegGetValue / Win32 Pin
«_Superman_»3-Oct-10 3:57
professional«_Superman_»3-Oct-10 3:57 
GeneralRe: RegGetValue / Win32 Pin
Richard MacCutchan3-Oct-10 4:01
mveRichard MacCutchan3-Oct-10 4:01 
QuestionSafeArrayCreate throwing ACCESS_VIOLATION exception, why? Pin
NeerajMD1-Oct-10 21:58
NeerajMD1-Oct-10 21:58 
AnswerRe: SafeArrayCreate throwing ACCESS_VIOLATION exception, why? Pin
Niklas L1-Oct-10 22:24
Niklas L1-Oct-10 22:24 
GeneralRe: SafeArrayCreate throwing ACCESS_VIOLATION exception, why? Pin
NeerajMD2-Oct-10 0:11
NeerajMD2-Oct-10 0:11 
QuestionWeird threading error with LibTiff Pin
Alan Balkany1-Oct-10 5:06
Alan Balkany1-Oct-10 5:06 
AnswerRe: Weird threading error with LibTiff PinPopular
Blake Miller1-Oct-10 6:14
Blake Miller1-Oct-10 6:14 
Some ideas to help you track down problem.

1. You seem to have the 'source code'. I would move the critical section initialization outside this function and make damn sure it is already done before ANY thead has a achance to call the function.

2. Make sure no two calls are trying to write to the same file.

3. Increment a local variable along the way - print out its value in the exception handler to get an idea WHERE you had a problem. They currently thow 666 everywhere - not too easy to tell what the real problem is when that is being done.

I would not try too hard to figure out what is wrong without the changes I suggest above, which is what I would do to allow me to diagnose the actual problem.
GeneralRe: Weird threading error with LibTiff Pin
Alan Balkany1-Oct-10 6:23
Alan Balkany1-Oct-10 6:23 
QuestionXP theme/common control question Pin
David Crow1-Oct-10 4:29
David Crow1-Oct-10 4:29 
AnswerRe: XP theme/common control question Pin
Richard MacCutchan1-Oct-10 5:53
mveRichard MacCutchan1-Oct-10 5:53 
QuestionHow to question about stepping into a dll Pin
ns1-Oct-10 4:28
ns1-Oct-10 4:28 
AnswerRe: How to question about stepping into a dll Pin
Richard MacCutchan1-Oct-10 5:37
mveRichard MacCutchan1-Oct-10 5:37 
GeneralRe: How to question about stepping into a dll Pin
Blake Miller1-Oct-10 6:16
Blake Miller1-Oct-10 6:16 
GeneralRe: How to question about stepping into a dll Pin
Richard MacCutchan1-Oct-10 10:16
mveRichard MacCutchan1-Oct-10 10:16 
AnswerRe: How to question about stepping into a dll Pin
Alan Balkany1-Oct-10 6:27
Alan Balkany1-Oct-10 6:27 
QuestionC2061 Compiler Error syntax error : identifier 'BOOL' Pin
timb7530-Sep-10 22:29
timb7530-Sep-10 22:29 
AnswerRe: C2061 Compiler Error syntax error : identifier 'BOOL' Pin
CPallini30-Sep-10 22:59
mveCPallini30-Sep-10 22:59 
GeneralRe: C2061 Compiler Error syntax error : identifier 'BOOL' Pin
Sauro Viti30-Sep-10 23:48
professionalSauro Viti30-Sep-10 23:48 
GeneralRe: C2061 Compiler Error syntax error : identifier 'BOOL' Pin
CPallini1-Oct-10 2:23
mveCPallini1-Oct-10 2:23 
JokeRe: C2061 Compiler Error syntax error : identifier 'BOOL' Pin
bleedingfingers1-Oct-10 2:26
bleedingfingers1-Oct-10 2:26 
GeneralRe: C2061 Compiler Error syntax error : identifier 'BOOL' Pin
CPallini1-Oct-10 2:33
mveCPallini1-Oct-10 2:33 
JokeRe: C2061 Compiler Error syntax error : identifier 'BOOL' Pin
Sauro Viti1-Oct-10 3:39
professionalSauro Viti1-Oct-10 3:39 
QuestionC++ Rookie. Pin
forexsurfr30-Sep-10 20:27
forexsurfr30-Sep-10 20:27 
AnswerRe: C++ Rookie. PinPopular
Cedric Moonen30-Sep-10 20:37
Cedric Moonen30-Sep-10 20:37 

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.