Click here to Skip to main content
15,919,434 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionEnterCriticalSection() exception issue Pin
Tnarol5-Oct-06 3:43
Tnarol5-Oct-06 3:43 
AnswerRe: EnterCriticalSection() exception issue Pin
led mike5-Oct-06 4:32
led mike5-Oct-06 4:32 
GeneralRe: EnterCriticalSection() exception issue Pin
Tnarol5-Oct-06 4:54
Tnarol5-Oct-06 4:54 
GeneralRe: EnterCriticalSection() exception issue Pin
led mike5-Oct-06 5:06
led mike5-Oct-06 5:06 
GeneralRe: EnterCriticalSection() exception issue Pin
Tnarol5-Oct-06 5:36
Tnarol5-Oct-06 5:36 
GeneralRe: EnterCriticalSection() exception issue Pin
led mike5-Oct-06 6:13
led mike5-Oct-06 6:13 
AnswerRe: EnterCriticalSection() exception issue Pin
Mark Salsbery5-Oct-06 7:35
Mark Salsbery5-Oct-06 7:35 
GeneralRe: EnterCriticalSection() exception issue Pin
Tnarol5-Oct-06 22:07
Tnarol5-Oct-06 22:07 
Thanks, it works fine so far...but the exception occurs very rarely so time will tell.

The problem with this kind of class is that you have to leave critical section explicitly so if you have functions with many return points you must copy the "Leave()" everywhere. Anyway I'm quite confident in this implementation.
GeneralRe: EnterCriticalSection() exception issue Pin
Mark Salsbery6-Oct-06 5:08
Mark Salsbery6-Oct-06 5:08 
AnswerRe: EnterCriticalSection() exception issue Pin
Blake Miller6-Oct-06 8:50
Blake Miller6-Oct-06 8:50 
QuestionAbsolute Addresses Pin
Big CDF5-Oct-06 3:39
Big CDF5-Oct-06 3:39 
AnswerRe: Absolute Addresses Pin
David Crow5-Oct-06 3:47
David Crow5-Oct-06 3:47 
GeneralRe: Absolute Addresses Pin
Big CDF5-Oct-06 11:58
Big CDF5-Oct-06 11:58 
GeneralRe: Absolute Addresses Pin
Jörgen Sigvardsson5-Oct-06 13:54
Jörgen Sigvardsson5-Oct-06 13:54 
AnswerRe: Absolute Addresses Pin
kakan5-Oct-06 19:49
professionalkakan5-Oct-06 19:49 
QuestionDoDataExchange Pin
Sonia Horra5-Oct-06 3:38
Sonia Horra5-Oct-06 3:38 
AnswerRe: DoDataExchange Pin
David Crow5-Oct-06 3:48
David Crow5-Oct-06 3:48 
GeneralRe: DoDataExchange Pin
Sonia Horra5-Oct-06 19:19
Sonia Horra5-Oct-06 19:19 
GeneralRe: DoDataExchange Pin
David Crow6-Oct-06 2:27
David Crow6-Oct-06 2:27 
GeneralRe: DoDataExchange Pin
Blake Miller6-Oct-06 8:52
Blake Miller6-Oct-06 8:52 
QuestionCDocument & CMainFrame. Pin
mostafa_pasha5-Oct-06 3:34
mostafa_pasha5-Oct-06 3:34 
QuestionRe: CDocument & CMainFrame. Pin
David Crow5-Oct-06 3:50
David Crow5-Oct-06 3:50 
AnswerRe: CDocument & CMainFrame. Pin
mostafa_pasha5-Oct-06 5:45
mostafa_pasha5-Oct-06 5:45 
GeneralRe: CDocument & CMainFrame. Pin
David Crow5-Oct-06 6:00
David Crow5-Oct-06 6:00 
GeneralRe: CDocument & CMainFrame. Pin
mostafa_pasha5-Oct-06 6:20
mostafa_pasha5-Oct-06 6:20 

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.