Click here to Skip to main content
15,611,738 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: using a dll to run the graphics of a scr [modified] Pin
reasley31-May-06 10:35
reasley31-May-06 10:35 
QuestionVisual Studio 2005, Multithreading option? Pin
Yonggoo31-May-06 9:02
Yonggoo31-May-06 9:02 
AnswerRe: Visual Studio 2005, Multithreading option? Pin
Cedric Moonen31-May-06 9:26
Cedric Moonen31-May-06 9:26 
AnswerRe: Visual Studio 2005, Multithreading option? Pin
Zac Howland31-May-06 10:04
Zac Howland31-May-06 10:04 
AnswerRe: Visual Studio 2005, Multithreading option? [modified] Pin
Yonggoo31-May-06 10:56
Yonggoo31-May-06 10:56 
QuestionPrecision Timing? Sleep(1)=15 millisecs !! Pin
Robert Palma Jr.31-May-06 8:57
Robert Palma Jr.31-May-06 8:57 
AnswerRe: Precision Timing? Sleep(1)=15 millisecs !! Pin
David Crow31-May-06 9:16
David Crow31-May-06 9:16 
AnswerRe: Precision Timing? Sleep(1)=15 millisecs !! Pin
Zac Howland31-May-06 9:23
Zac Howland31-May-06 9:23 
Robert Palma Jr. wrote:
Is there any way to make precision timing,
or sleep with true resulution at 1 millisec
or smaller?


Sleep relinquishes the processor from the current thread for at least the time you give it. It does NOT mean that it will regain CPU time in 1 ms if you call Sleep(1); it does mean that you will not regain CPU time in less than 1 ms. You are basically telling the OS that you don't need to work for at least a certain amount of time so it can let someone else work.

Windows does have a high resolution timer, but it has been a while since I even bothered with it. Check out this book.

If you decide to become a software engineer, you are signing up to have a 1/2" piece of silicon tell you exactly how stupid you really are for 8 hours a day, 5 days a week

Zac
QuestionThreads Pin
Anthony988731-May-06 8:56
Anthony988731-May-06 8:56 
AnswerRe: Threads Pin
valikac31-May-06 10:04
valikac31-May-06 10:04 
GeneralRe: Threads Pin
Anthony988731-May-06 14:42
Anthony988731-May-06 14:42 
GeneralRe: Threads Pin
valikac31-May-06 14:46
valikac31-May-06 14:46 
QuestionGetting screen coordinated from a window [modified] Pin
Ista31-May-06 8:50
Ista31-May-06 8:50 
QuestionRe: Getting screen coordinated from a window [modified] Pin
David Crow31-May-06 9:13
David Crow31-May-06 9:13 
AnswerRe: Getting screen coordinated from a window [modified] Pin
Ista31-May-06 9:18
Ista31-May-06 9:18 
GeneralRe: Getting screen coordinated from a window [modified] Pin
Zac Howland31-May-06 10:01
Zac Howland31-May-06 10:01 
QuestionArray of images [modified] Pin
sclore31-May-06 8:35
sclore31-May-06 8:35 
Questionhow to connect to a database like postgresql or mysql? Pin
ThinkingPrometheus31-May-06 8:00
ThinkingPrometheus31-May-06 8:00 
AnswerRe: how to connect to a database like postgresql or mysql? Pin
David Crow31-May-06 8:38
David Crow31-May-06 8:38 
GeneralRe: how to connect to a database like postgresql or mysql? Pin
ThinkingPrometheus31-May-06 8:58
ThinkingPrometheus31-May-06 8:58 
GeneralRe: how to connect to a database like postgresql or mysql? Pin
David Crow31-May-06 9:09
David Crow31-May-06 9:09 
AnswerRe: how to connect to a database like postgresql or mysql? Pin
Eric Dahlvang31-May-06 10:11
Eric Dahlvang31-May-06 10:11 
AnswerRe: how to connect to a database like postgresql or mysql? Pin
markkuk31-May-06 12:54
markkuk31-May-06 12:54 
GeneralPOP3 SERVER [modified] Pin
hahayk31-May-06 7:05
hahayk31-May-06 7:05 
AnswerRe: POP3 SERVER Pin
leppie31-May-06 7:13
leppie31-May-06 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.