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

C / C++ / MFC

 
QuestionC++ socket or java socket, who is better? Pin
includeh1016-Jul-02 9:43
includeh1016-Jul-02 9:43 
AnswerRe: C++ socket or java socket, who is better? Pin
Joaquín M López Muñoz16-Jul-02 10:15
Joaquín M López Muñoz16-Jul-02 10:15 
GeneralCStatic question Pin
Anonymous16-Jul-02 9:33
Anonymous16-Jul-02 9:33 
GeneralRe: CStatic question Pin
Joaquín M López Muñoz16-Jul-02 10:12
Joaquín M López Muñoz16-Jul-02 10:12 
GeneralHelp with ActiveMovie 4!! PLEASE!! Pin
Anonymous16-Jul-02 9:29
Anonymous16-Jul-02 9:29 
GeneralRe: Help with ActiveMovie 4!! PLEASE!! Pin
Joaquín M López Muñoz16-Jul-02 10:16
Joaquín M López Muñoz16-Jul-02 10:16 
GeneralRe: Help with ActiveMovie 4!! PLEASE!! Pin
Anonymous17-Jul-02 2:18
Anonymous17-Jul-02 2:18 
QuestionIs there a way to put a thread to sleep remotely? Pin
JohnnyG16-Jul-02 9:17
JohnnyG16-Jul-02 9:17 
Is there a way to put a thread to sleep and wake it up from outside of the thread itself? I have a thread that gets created regardless of what mode I'm in but would like for it to just go to sleep when in one mode and wakeup and goto work in another. When the user makes a menu selection for mode, I want to respond accordingly.

I know there is the sleep command but that is for inside of the thread. I also know about WaitForMultipleObjects and some about events. Since this is already written code, and is already waiting for certain events, i.e. application shutdown, read from serial port, etc., I don't want to have to add new events and code. In one mode (the non-serial mode), I don't want it to wait for these events, I want it to sleep or wait INFINITE until application shutdown. In the other mode, I want it to respond to serial events and application shutdown. I know I can make it work if I recode this section but is there an easier way?
AnswerRe: Is there a way to put a thread to sleep remotely? Pin
JohnnyG16-Jul-02 9:24
JohnnyG16-Jul-02 9:24 
AnswerRe: Is there a way to put a thread to sleep remotely? Pin
Daniel Lohmann17-Jul-02 14:16
Daniel Lohmann17-Jul-02 14:16 
Generalmsword automation, open Pin
pnpfriend16-Jul-02 8:53
pnpfriend16-Jul-02 8:53 
QuestionCToolBar, a vertical line ? Pin
includeh1016-Jul-02 8:51
includeh1016-Jul-02 8:51 
AnswerRe: CToolBar, a vertical line ? Pin
Shog916-Jul-02 8:55
sitebuilderShog916-Jul-02 8:55 
GeneralRe: CToolBar, a vertical line ? Pin
includeh1016-Jul-02 9:20
includeh1016-Jul-02 9:20 
GeneralRe: CToolBar, a vertical line ? Pin
Shog916-Jul-02 9:33
sitebuilderShog916-Jul-02 9:33 
Generaldll -where should I start Pin
melshehu200216-Jul-02 8:46
melshehu200216-Jul-02 8:46 
GeneralRe: dll -where should I start Pin
Joaquín M López Muñoz16-Jul-02 8:58
Joaquín M López Muñoz16-Jul-02 8:58 
Generalchanging text on menu item Pin
ns16-Jul-02 8:33
ns16-Jul-02 8:33 
GeneralRe: changing text on menu item Pin
Nish Nishant16-Jul-02 8:44
sitebuilderNish Nishant16-Jul-02 8:44 
Generalsorry for two threads - my browser was acting up Pin
ns16-Jul-02 9:03
ns16-Jul-02 9:03 
Generalchange caption of the menu item - quick question Pin
ns16-Jul-02 8:24
ns16-Jul-02 8:24 
GeneralRe: change caption of the menu item - quick question Pin
Nish Nishant16-Jul-02 8:27
sitebuilderNish Nishant16-Jul-02 8:27 
Generalquestion about modify menu - sort of works Pin
ns16-Jul-02 9:02
ns16-Jul-02 9:02 
GeneralRe: change caption of the menu item - quick question Pin
ns16-Jul-02 9:52
ns16-Jul-02 9:52 
Generalvalues not showing up in array Pin
John Aldrich16-Jul-02 7:59
John Aldrich16-Jul-02 7:59 

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.