Click here to Skip to main content
16,007,885 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralAudio support Pin
jayostu6-Aug-02 23:01
jayostu6-Aug-02 23:01 
GeneralApplication Shutdown problem Pin
Anonymous6-Aug-02 22:52
Anonymous6-Aug-02 22:52 
GeneralCAsyncSocket Question Pin
Niko Tanghe6-Aug-02 22:48
Niko Tanghe6-Aug-02 22:48 
GeneralRe: CAsyncSocket Question Pin
Jon Hulatt7-Aug-02 1:47
Jon Hulatt7-Aug-02 1:47 
GeneralRe: CAsyncSocket Question Pin
Niko Tanghe7-Aug-02 1:55
Niko Tanghe7-Aug-02 1:55 
GeneralRe: CAsyncSocket Question Pin
Masaaki Onishi7-Aug-02 6:48
Masaaki Onishi7-Aug-02 6:48 
GeneralCLOCKS_PER_SEC Pin
Janette6-Aug-02 21:51
Janette6-Aug-02 21:51 
GeneralRe: CLOCKS_PER_SEC Pin
[CoY0te]6-Aug-02 23:45
[CoY0te]6-Aug-02 23:45 
It's defined in Time.h and it's value is 1000.

By the way - using windows timer is sometimes not enough.
Although CLOCKS_PER_SEC is 1000, the timer is updated approximately every 55ms, that is less than 20 times per second.

As for me i prefer to use QueryPerformanceCounter and QueryPerformanceFrequency functions - these use a timer that is updated very often (depends on hardware). I should be "smoother" than 1us (over 1MHz frequency).

Railgun is like a Gilette Mach 3 - it does the job with one, easy stroke.
GeneralRe: CLOCKS_PER_SEC Pin
_Magnus_6-Aug-02 23:47
_Magnus_6-Aug-02 23:47 
GeneralRe: CLOCKS_PER_SEC Pin
Haakon S.7-Aug-02 3:22
Haakon S.7-Aug-02 3:22 
GeneralLoading Bitmaps in Dialog Pin
Shibu6-Aug-02 21:40
Shibu6-Aug-02 21:40 
GeneralRe: Loading Bitmaps in Dialog Pin
Tomasz Sowinski7-Aug-02 0:25
Tomasz Sowinski7-Aug-02 0:25 
GeneralRe: Loading Bitmaps in Dialog Pin
Anonymous7-Aug-02 1:18
Anonymous7-Aug-02 1:18 
Generalmessagebox like dialogbox Pin
slah6-Aug-02 21:22
slah6-Aug-02 21:22 
GeneralRe: messagebox like dialogbox Pin
Tomasz Sowinski7-Aug-02 0:28
Tomasz Sowinski7-Aug-02 0:28 
GeneralIE View Source Data Pin
Paul M Watt6-Aug-02 21:05
mentorPaul M Watt6-Aug-02 21:05 
GeneralRe: IE View Source Data Pin
Paul M Watt7-Aug-02 6:46
mentorPaul M Watt7-Aug-02 6:46 
GeneralRe: How about Socket program? Pin
Masaaki Onishi7-Aug-02 7:09
Masaaki Onishi7-Aug-02 7:09 
GeneralRe: How about Socket program? Pin
Paul M Watt7-Aug-02 19:20
mentorPaul M Watt7-Aug-02 19:20 
GeneralRe: IE View Source Data Pin
Todd Smith7-Aug-02 7:56
Todd Smith7-Aug-02 7:56 
GeneralRe: IE View Source Data Pin
Paul M Watt7-Aug-02 19:23
mentorPaul M Watt7-Aug-02 19:23 
GeneralList Control Pin
fdrimando6-Aug-02 20:21
fdrimando6-Aug-02 20:21 
GeneralRe: List Control Pin
RChin6-Aug-02 21:11
RChin6-Aug-02 21:11 
GeneralRe: List Control Pin
fdrimando6-Aug-02 22:05
fdrimando6-Aug-02 22:05 
Question.Net not adding classes to dialogs? Pin
dazinith6-Aug-02 20:18
dazinith6-Aug-02 20:18 

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.