Click here to Skip to main content
15,903,724 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Loading DLL from file not PATH Pin
Richard MacCutchan15-Jun-22 22:46
mveRichard MacCutchan15-Jun-22 22:46 
GeneralRe: Loading DLL from file not PATH Pin
Valentinor15-Jun-22 23:12
Valentinor15-Jun-22 23:12 
GeneralRe: Loading DLL from file not PATH Pin
Richard MacCutchan16-Jun-22 0:01
mveRichard MacCutchan16-Jun-22 0:01 
GeneralRe: Loading DLL from file not PATH Pin
Valentinor16-Jun-22 0:37
Valentinor16-Jun-22 0:37 
GeneralRe: Loading DLL from file not PATH Pin
Richard MacCutchan16-Jun-22 2:08
mveRichard MacCutchan16-Jun-22 2:08 
GeneralRe: Loading DLL from file not PATH Pin
Richard MacCutchan16-Jun-22 5:22
mveRichard MacCutchan16-Jun-22 5:22 
GeneralRe: Loading DLL from file not PATH Pin
Valentinor16-Jun-22 6:06
Valentinor16-Jun-22 6:06 
QuestionMeasure ITEM ITEMDATA string coming in as Wide Character string Pin
ForNow6-Jun-22 17:28
ForNow6-Jun-22 17:28 
AnswerRe: Measure ITEM ITEMDATA string coming in as Wide Character string Pin
Richard MacCutchan6-Jun-22 21:01
mveRichard MacCutchan6-Jun-22 21:01 
QuestionGrades Pin
Stephanie Foley6-Jun-22 7:38
Stephanie Foley6-Jun-22 7:38 
AnswerRe: Grades Pin
Richard MacCutchan6-Jun-22 9:08
mveRichard MacCutchan6-Jun-22 9:08 
GeneralRe: Grades Pin
Stephanie Foley6-Jun-22 10:03
Stephanie Foley6-Jun-22 10:03 
GeneralRe: Grades Pin
Richard MacCutchan6-Jun-22 10:19
mveRichard MacCutchan6-Jun-22 10:19 
GeneralRe: Grades Pin
jeron16-Jun-22 11:29
jeron16-Jun-22 11:29 
Questionreference question Pin
focusdoit5-Jun-22 12:50
focusdoit5-Jun-22 12:50 
AnswerRe: reference question Pin
k50545-Jun-22 13:26
mvek50545-Jun-22 13:26 
AnswerRe: reference question Pin
Richard MacCutchan6-Jun-22 0:52
mveRichard MacCutchan6-Jun-22 0:52 
Questionmath Pin
Calin Negru4-Jun-22 20:13
Calin Negru4-Jun-22 20:13 
AnswerRe: math Pin
Victor Nijegorodov4-Jun-22 20:42
Victor Nijegorodov4-Jun-22 20:42 
AnswerRe: math Pin
Richard MacCutchan4-Jun-22 21:10
mveRichard MacCutchan4-Jun-22 21:10 
GeneralRe: math Pin
Calin Negru4-Jun-22 22:03
Calin Negru4-Jun-22 22:03 
GeneralRe: math Pin
Richard MacCutchan4-Jun-22 22:10
mveRichard MacCutchan4-Jun-22 22:10 
GeneralRe: math Pin
Calin Negru4-Jun-22 23:04
Calin Negru4-Jun-22 23:04 
QuestionGame loop and time measurement. Pin
Member 152127684-Jun-22 5:23
Member 152127684-Jun-22 5:23 
AnswerRe: Game loop and time measurement. Pin
Mircea Neacsu4-Jun-22 7:47
Mircea Neacsu4-Jun-22 7:47 
Member 15212768 wrote:
What's the point in `base = timeGetTime() & 0xffff0000` line?

To avoid being too close to rollover point. From "timeGetTime function | Microsoft Docs"[^]:
Quote:
The return value wraps around to 0 every 2^32 milliseconds, which is about 49.71 days. This can cause problems in code that directly uses the timeGetTime return value in computations, particularly where the value is used to control code execution. You should always use the difference between two timeGetTime return values in computations.

Mircea

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.