Click here to Skip to main content
15,915,160 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRegarding Application.ScreenUpdating() - Draw Graph in Excel Pin
vimaltiwari11-Jul-08 3:35
vimaltiwari11-Jul-08 3:35 
AnswerRe: Regarding Application.ScreenUpdating() - Draw Graph in Excel Pin
led mike11-Jul-08 5:25
led mike11-Jul-08 5:25 
QuestionEnterCriticalSection() problem on Vista Pin
SRKSHOME11-Jul-08 3:31
SRKSHOME11-Jul-08 3:31 
AnswerRe: EnterCriticalSection() problem on Vista Pin
Mark Salsbery11-Jul-08 5:27
Mark Salsbery11-Jul-08 5:27 
GeneralRe: EnterCriticalSection() problem on Vista Pin
SRKSHOME14-Jul-08 4:58
SRKSHOME14-Jul-08 4:58 
GeneralRe: EnterCriticalSection() problem on Vista Pin
Mark Salsbery14-Jul-08 5:43
Mark Salsbery14-Jul-08 5:43 
GeneralRe: EnterCriticalSection() problem on Vista Pin
SRKSHOME14-Jul-08 19:09
SRKSHOME14-Jul-08 19:09 
GeneralRe: EnterCriticalSection() problem on Vista Pin
Mark Salsbery15-Jul-08 5:36
Mark Salsbery15-Jul-08 5:36 
The only difference in Vista is the threading is more efficient.
The changes can expose problems in improperly written threading code
(not as many problems as multi-core machines expose Smile | :) ).

You've got some kind of deadlock. Maybe put TRACE statements before
and after EVERY enter/leave of the critical section and see if you can find
it. I don't know what else to say except you need to debug it.

Why the InterlockedIncrement() call? What is the critical section protecting?

Mark Salsbery
Microsoft MVP - Visual C++

Java | [Coffee]

GeneralRe: EnterCriticalSection() problem on Vista Pin
SRKSHOME17-Jul-08 3:12
SRKSHOME17-Jul-08 3:12 
GeneralRe: EnterCriticalSection() problem on Vista Pin
Mark Salsbery17-Jul-08 5:37
Mark Salsbery17-Jul-08 5:37 
GeneralRe: EnterCriticalSection() problem on Vista Pin
SRKSHOME12-Aug-08 1:05
SRKSHOME12-Aug-08 1:05 
AnswerRe: EnterCriticalSection() problem on Vista Pin
Joe Woodbury11-Jul-08 10:26
professionalJoe Woodbury11-Jul-08 10:26 
GeneralRe: EnterCriticalSection() problem on Vista Pin
SRKSHOME11-Jul-08 23:35
SRKSHOME11-Jul-08 23:35 
GeneralRe: EnterCriticalSection() problem on Vista Pin
Joe Woodbury12-Jul-08 7:07
professionalJoe Woodbury12-Jul-08 7:07 
GeneralRe: EnterCriticalSection() problem on Vista Pin
Stephen Hewitt13-Jul-08 15:29
Stephen Hewitt13-Jul-08 15:29 
GeneralRe: EnterCriticalSection() problem on Vista Pin
Stephen Hewitt13-Jul-08 15:29
Stephen Hewitt13-Jul-08 15:29 
GeneralRe: EnterCriticalSection() problem on Vista Pin
SRKSHOME13-Jul-08 18:52
SRKSHOME13-Jul-08 18:52 
GeneralRe: EnterCriticalSection() problem on Vista Pin
SRKSHOME17-Jul-08 3:15
SRKSHOME17-Jul-08 3:15 
GeneralRe: EnterCriticalSection() problem on Vista Pin
Joe Woodbury17-Jul-08 5:45
professionalJoe Woodbury17-Jul-08 5:45 
QuestionVC ++ help Pin
paresh_sarjani11-Jul-08 3:31
paresh_sarjani11-Jul-08 3:31 
AnswerRe: VC ++ help Pin
Cedric Moonen11-Jul-08 3:56
Cedric Moonen11-Jul-08 3:56 
GeneralRe: VC ++ help Pin
sudhir_Kumar11-Jul-08 19:53
sudhir_Kumar11-Jul-08 19:53 
Questionhow data is managed in CString class? Pin
nisha0000011-Jul-08 3:12
nisha0000011-Jul-08 3:12 
AnswerRe: how data is managed in CString class? Pin
Mark Salsbery11-Jul-08 5:38
Mark Salsbery11-Jul-08 5:38 
QuestionTryEnterCriticalSection() problem Pin
SRKSHOME11-Jul-08 2:42
SRKSHOME11-Jul-08 2:42 

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.