Click here to Skip to main content
15,899,124 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How can I display a cursor for the text? Pin
led mike11-Jul-08 5:22
led mike11-Jul-08 5:22 
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 
I checked it again. Initialization of critical section is properly done.
Here is actual code goes..

inline void Request() const
{
EnterCriticalSection( &_section ); //Here actually it stuck on Vista.
::InterlockedIncrement(&m_nLockCount);
}

If some other thread is using this crititcal section,it shouldn't have worked on any other os also.But it is working perfectly except on Vista.
Is there any change on Vista architecture in threading and synchronization. Something is mentioned in this link: http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=510229&SiteID=1
Do you have any idea on this?
GeneralRe: EnterCriticalSection() problem on Vista Pin
Mark Salsbery15-Jul-08 5:36
Mark Salsbery15-Jul-08 5:36 
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 

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.