Click here to Skip to main content
16,012,223 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: optimizd C code Pin
devvvy1-Sep-03 6:28
devvvy1-Sep-03 6:28 
GeneralRe: optimizd C code Pin
Gary R. Wheeler1-Sep-03 4:46
Gary R. Wheeler1-Sep-03 4:46 
GeneralLaunching program from resources Pin
Ricky Koh31-Aug-03 18:57
Ricky Koh31-Aug-03 18:57 
Generalsampling another apps pixels Pin
7stud31-Aug-03 17:56
7stud31-Aug-03 17:56 
Generalmillisecond time Pin
devvvy31-Aug-03 16:57
devvvy31-Aug-03 16:57 
GeneralRe: millisecond time Pin
PJ Arends31-Aug-03 18:03
professionalPJ Arends31-Aug-03 18:03 
GeneralRe: millisecond time Pin
DougW4831-Aug-03 18:31
DougW4831-Aug-03 18:31 
GeneralRe: millisecond time Pin
Gary R. Wheeler1-Sep-03 4:52
Gary R. Wheeler1-Sep-03 4:52 
These functions have millisecond precision, but not millisecond accuracy. In other words, while the result may be expressed as +/- 0.001 second, it may actually only be good to +/- 0.010 second (the Windows 'quantum'), for example. The difference is due to the fact that this clock is based on Windows timekeeping, which may not be updated often enough.

As someone else mentioned, use QueryPerformanceCounter and QueryPerformanceFrequency instead. These functions use a hardware timer that is not dependent on Windows.


Software Zen: delete this;
GeneralRe: millisecond time Pin
devvvy1-Sep-03 6:40
devvvy1-Sep-03 6:40 
QuestionHow to program just like winamp to make multi dialog attach to each other? Pin
allenhu31-Aug-03 15:18
allenhu31-Aug-03 15:18 
AnswerRe: How to program just like winamp to make multi dialog attach to each other? Pin
devvvy1-Sep-03 6:39
devvvy1-Sep-03 6:39 
Generalrecvfrom returns SOCKET_ERROR but WSAGetLastError returns 0 Pin
CND31-Aug-03 12:32
CND31-Aug-03 12:32 
QuestionAny way to view the contents of an ms word file? Pin
DanYELL31-Aug-03 12:26
DanYELL31-Aug-03 12:26 
AnswerRe: Any way to view the contents of an ms word file? Pin
Joey Bloggs31-Aug-03 14:18
Joey Bloggs31-Aug-03 14:18 
AnswerRe: Any way to view the contents of an ms word file? Pin
tareqsiraj1-Sep-03 4:53
tareqsiraj1-Sep-03 4:53 
QuestionHow to use tab in a treeview? Pin
Binayak31-Aug-03 12:21
Binayak31-Aug-03 12:21 
AnswerRe: How to use tab in a treeview? Pin
Joey Bloggs31-Aug-03 14:48
Joey Bloggs31-Aug-03 14:48 
GeneralCSettingsDialog Pin
monrobot1331-Aug-03 10:21
monrobot1331-Aug-03 10:21 
QuestionCreating a main window with only a dialog resource? Pin
Aidman31-Aug-03 7:30
Aidman31-Aug-03 7:30 
AnswerRe: Creating a main window with only a dialog resource? Pin
l a u r e n31-Aug-03 8:19
l a u r e n31-Aug-03 8:19 
GeneralFreeImage newbie Pin
tareqsiraj31-Aug-03 6:21
tareqsiraj31-Aug-03 6:21 
GeneralRe: FreeImage newbie Pin
l a u r e n31-Aug-03 8:20
l a u r e n31-Aug-03 8:20 
GeneralRe: FreeImage newbie Pin
tareqsiraj31-Aug-03 8:25
tareqsiraj31-Aug-03 8:25 
GeneralUsing CRecordView Pin
Antti Keskinen31-Aug-03 5:45
Antti Keskinen31-Aug-03 5:45 
GeneralHelp With online thing Pin
Snyp31-Aug-03 5:45
Snyp31-Aug-03 5:45 

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.