Click here to Skip to main content
15,908,931 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: std::string strange error Pin
James R. Twine18-Jun-04 11:06
James R. Twine18-Jun-04 11:06 
GeneralSetting the print title column Pin
mcgahanfl18-Jun-04 5:43
mcgahanfl18-Jun-04 5:43 
GeneralRe: Setting the print title column Pin
Johan Rosengren18-Jun-04 5:53
Johan Rosengren18-Jun-04 5:53 
Generalstd::string and reserve question ... Pin
Maximilien18-Jun-04 5:24
Maximilien18-Jun-04 5:24 
GeneralRe: std::string and reserve question ... Pin
palbano18-Jun-04 6:00
palbano18-Jun-04 6:00 
GeneralRe: std::string and reserve question ... Pin
Maximilien18-Jun-04 8:24
Maximilien18-Jun-04 8:24 
GeneralRe: std::string and reserve question ... Pin
James R. Twine18-Jun-04 11:20
James R. Twine18-Jun-04 11:20 
GeneralExperts help with Threads with Notifications Pin
18-Jun-04 4:50
suss18-Jun-04 4:50 
Sir,
I am developing an Win32 application that involves events and notification.
I am developing a simulator that fires an event and generates notification through threads.

Pls correct me If I am going wrong.


1. Develop a Win32 Application.
2. Inside Winmain, do the following.
2.1. Create a thread
2.2. Create a Handle
2.3. Call CreateEvent and assign the handle to the first.
2.4. Call the message loop
3. Inside the thread call WaitforMultipleObjects();
3.1 Use switch case To catch the event
3.2 Now when appropriate events are fired ,I want to get notification.
3.3 Where will I declare events ? Will it be in the header file or in the dll.

What further do I have to do to achieve this?
Can somebody help me with a piece of code here?


Regards
Tiger

GeneralRe: Experts help with Threads with Notifications Pin
Blake Miller18-Jun-04 5:47
Blake Miller18-Jun-04 5:47 
GeneralRe: Experts help with Threads with Notifications Pin
Member 115017621-Jun-04 1:29
Member 115017621-Jun-04 1:29 
QuestionHow can I create GraphicsPath vector and its iterator ? Pin
Gem18-Jun-04 4:41
Gem18-Jun-04 4:41 
AnswerRe: How can I create GraphicsPath vector and its iterator ? Pin
Gem18-Jun-04 4:45
Gem18-Jun-04 4:45 
GeneralMAPI and outlook Pin
kanetheterrible118-Jun-04 4:35
kanetheterrible118-Jun-04 4:35 
GeneralRe: MAPI and outlook Pin
Michael P Butler18-Jun-04 4:52
Michael P Butler18-Jun-04 4:52 
GeneralRe: MAPI and outlook Pin
kanetheterrible118-Jun-04 6:39
kanetheterrible118-Jun-04 6:39 
GeneralDoModal and window position Pin
Anonymous18-Jun-04 4:22
Anonymous18-Jun-04 4:22 
GeneralRe: DoModal and window position Pin
jmkhael18-Jun-04 4:25
jmkhael18-Jun-04 4:25 
GeneralPlease help - Fast Table Format Pin
swerajan18-Jun-04 3:34
swerajan18-Jun-04 3:34 
GeneralRe: Please help - Fast Table Format Pin
zon_cpp19-Sep-10 20:30
zon_cpp19-Sep-10 20:30 
GeneralCreating variable window...Help! Pin
irshad_bukhari18-Jun-04 3:23
irshad_bukhari18-Jun-04 3:23 
GeneralRe: Creating variable window...Help! Pin
Antony M Kancidrowski18-Jun-04 4:06
Antony M Kancidrowski18-Jun-04 4:06 
GeneralUnknown size array Pin
mufasa218-Jun-04 3:19
mufasa218-Jun-04 3:19 
GeneralRe: Unknown size array Pin
wb18-Jun-04 3:48
wb18-Jun-04 3:48 
GeneralRe: Unknown size array Pin
mufasa218-Jun-04 3:58
mufasa218-Jun-04 3:58 
GeneralRe: Unknown size array Pin
jmkhael18-Jun-04 4:03
jmkhael18-Jun-04 4:03 

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.