Click here to Skip to main content
15,911,306 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionLetters in a matrix? Pin
nywebhead15-May-02 9:01
nywebhead15-May-02 9:01 
AnswerRe: Letters in a matrix? Pin
Joaquín M López Muñoz15-May-02 9:06
Joaquín M López Muñoz15-May-02 9:06 
GeneralRe: Letters in a matrix? Pin
nywebhead15-May-02 15:43
nywebhead15-May-02 15:43 
GeneralLinker error for /delayload with VC 6 Pin
Cristina197615-May-02 8:27
Cristina197615-May-02 8:27 
GeneralIllegal Operation w/ Toolbars Pin
RalfPeter15-May-02 8:12
RalfPeter15-May-02 8:12 
GeneralCHtmlView Question... Pin
JoeSox15-May-02 7:49
JoeSox15-May-02 7:49 
GeneralRe: CHtmlView Question... Pin
Paul M Watt15-May-02 8:06
mentorPaul M Watt15-May-02 8:06 
GeneralRe: CHtmlView Question... Pin
Matt Gullett15-May-02 8:43
Matt Gullett15-May-02 8:43 
QuestionWhat would be the best solution for storing a large amount of paths? Pin
redeemer15-May-02 7:32
redeemer15-May-02 7:32 
AnswerRe: What would be the best solution for storing a large amount of paths? Pin
Paul M Watt15-May-02 7:50
mentorPaul M Watt15-May-02 7:50 
GeneralHow do i assign a path to each item? Pin
redeemer15-May-02 8:01
redeemer15-May-02 8:01 
GeneralRe: How do i assign a path to each item? Pin
dazinith15-May-02 8:26
dazinith15-May-02 8:26 
GeneralRe: How do i assign a path to each item? Pin
redeemer15-May-02 8:29
redeemer15-May-02 8:29 
GeneralRe: How do i assign a path to each item? Pin
Paul M Watt15-May-02 8:35
mentorPaul M Watt15-May-02 8:35 
GeneralCan i assign an entire string to lParam? Pin
redeemer15-May-02 8:37
redeemer15-May-02 8:37 
GeneralRe: How do i assign a path to each item? Pin
Paul M Watt15-May-02 8:34
mentorPaul M Watt15-May-02 8:34 
GeneralCan i assign an entire string to lParam? Pin
redeemer15-May-02 8:37
redeemer15-May-02 8:37 
Generalwinsock servers ... console apps... Pin
l a u r e n15-May-02 7:30
l a u r e n15-May-02 7:30 
GeneralRe: winsock servers ... console apps... Pin
Paul M Watt15-May-02 8:02
mentorPaul M Watt15-May-02 8:02 
You still have access to the synchronization functions like WaitForSingleObject. So if there is some sort of event that you can set to wake up your thread that would be the best solution. The types of objects you can use are:


  • Change notification

  • Console input

  • Event

  • Job

  • Mutex

  • Process

  • Semaphore

  • Thread

  • Waitable timer



You can also set a timeout value so that your thread wakes up automatically if the timeout expires. Just remember to include Windows.h if you want to go this route.

Or you could simply tell your program to sleep, but that still takes up a lot of processing power depending on how long you tell your app to sleep.

Good Luck!


Build a man a fire, and he will be warm for a day
Light a man on fire, and he will be warm for the rest of his life!

GeneralRe: winsock servers ... console apps... Pin
Anders Molin15-May-02 8:03
professionalAnders Molin15-May-02 8:03 
GeneralRe: winsock servers ... console apps... Pin
Nemanja Trifunovic15-May-02 8:17
Nemanja Trifunovic15-May-02 8:17 
GeneralRe: winsock servers ... console apps... Pin
Amit Dey15-May-02 10:19
Amit Dey15-May-02 10:19 
Generalpopup menu font sizing Pin
jimNLX15-May-02 7:10
jimNLX15-May-02 7:10 
GeneralRe: popup menu font sizing Pin
Paul M Watt15-May-02 8:12
mentorPaul M Watt15-May-02 8:12 
GeneralOnly if WTL had AfxGetMainWnd Pin
Mike.NET15-May-02 7:13
Mike.NET15-May-02 7:13 

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.