Click here to Skip to main content
16,011,711 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Fastest Search Technique Pin
Paul M Watt5-Jun-02 12:20
mentorPaul M Watt5-Jun-02 12:20 
GeneralRe: Fastest Search Technique Pin
jan larsen6-Jun-02 0:05
jan larsen6-Jun-02 0:05 
GeneralRe: Fastest Search Technique Pin
Ed Gadziemski5-Jun-02 12:32
professionalEd Gadziemski5-Jun-02 12:32 
GeneralRe: Fastest Search Technique Pin
Paul M Watt5-Jun-02 12:43
mentorPaul M Watt5-Jun-02 12:43 
GeneralIcons in Dialogs Pin
Dov Sherman5-Jun-02 8:35
Dov Sherman5-Jun-02 8:35 
GeneralRe: Icons in Dialogs Pin
Mike Nordell5-Jun-02 9:36
Mike Nordell5-Jun-02 9:36 
GeneralRe: Icons in Dialogs Pin
Ed Gadziemski5-Jun-02 12:33
professionalEd Gadziemski5-Jun-02 12:33 
GeneralMutex problem Pin
Hans Ruck5-Jun-02 8:14
Hans Ruck5-Jun-02 8:14 
In a dialog-based MFC, i've created a mutex as a result of pressing of a button, this way:
m_hMutex=CreateMutex(NULL, FALSE, "unique name");

Later, i call:
WaitForSingleObject(m_hMutex, INFINITE);

waiting for a worker to release the mutex.
The behaviour of the stuff is very strange: the worker doesn't release the mutex, but the main-one passes the WaitForSingleObject call and returns WAIT_OBJECT_0 immediately.

If you know how could it be fixed, please kick a click to some reply.

rechi
GeneralRe: Mutex problem Pin
Mike Nordell5-Jun-02 9:40
Mike Nordell5-Jun-02 9:40 
GeneralRe: Mutex problem Pin
Hans Ruck5-Jun-02 21:07
Hans Ruck5-Jun-02 21:07 
GeneralRe: Mutex problem Pin
Mike Nordell6-Jun-02 9:57
Mike Nordell6-Jun-02 9:57 
GeneralRe: Mutex problem Pin
John M. Drescher6-Jun-02 10:06
John M. Drescher6-Jun-02 10:06 
GeneralRe: Mutex problem Pin
John M. Drescher6-Jun-02 10:11
John M. Drescher6-Jun-02 10:11 
Generalstring to wstring conversion Pin
5-Jun-02 7:41
suss5-Jun-02 7:41 
GeneralRe: string to wstring conversion Pin
Mike Nordell5-Jun-02 7:57
Mike Nordell5-Jun-02 7:57 
GeneralVC++ XML integration Pin
5-Jun-02 7:31
suss5-Jun-02 7:31 
GeneralRe: VC++ XML integration Pin
Nemanja Trifunovic5-Jun-02 7:48
Nemanja Trifunovic5-Jun-02 7:48 
GeneralError when using EnumObjects function. Pin
redeemer5-Jun-02 7:16
redeemer5-Jun-02 7:16 
GeneralRe: Error when using EnumObjects function. Pin
Cathy6-Jun-02 9:43
Cathy6-Jun-02 9:43 
GeneralMSChart labels Pin
5-Jun-02 5:50
suss5-Jun-02 5:50 
GeneralRe: MSChart labels Pin
Richard Ellis5-Jun-02 20:36
Richard Ellis5-Jun-02 20:36 
GeneralRe: MSChart labels Pin
Ruca20-Aug-02 1:08
Ruca20-Aug-02 1:08 
GeneralRe: MSChart labels Pin
Ruca20-Aug-02 5:28
Ruca20-Aug-02 5:28 
GeneralRe: MSChart labels Pin
Ruca20-Aug-02 6:43
Ruca20-Aug-02 6:43 
GeneralRe: MSChart labels Pin
Richard Ellis20-Aug-02 13:20
Richard Ellis20-Aug-02 13: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.