Click here to Skip to main content
15,914,400 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralHelp With App Licenses Pin
IrishSonic18-Jun-04 10:16
IrishSonic18-Jun-04 10:16 
GeneralRe: Help With App Licenses Pin
JimmyRopes10-Sep-04 16:33
professionalJimmyRopes10-Sep-04 16:33 
GeneralCFileDialog whata f...??? hehehee Pin
Nitro_gen18-Jun-04 10:09
Nitro_gen18-Jun-04 10:09 
GeneralRe: CFileDialog whata f...??? hehehee Pin
Johan Rosengren19-Jun-04 20:26
Johan Rosengren19-Jun-04 20:26 
GeneralRe: CFileDialog whata f...??? hehehee Pin
Nitro_gen23-Jun-04 9:42
Nitro_gen23-Jun-04 9:42 
GeneralGetting Time (milliseconds)m of Seconds Pin
Grahamfff18-Jun-04 10:07
Grahamfff18-Jun-04 10:07 
GeneralRe: Getting Time (milliseconds)m of Seconds Pin
John R. Shaw18-Jun-04 11:12
John R. Shaw18-Jun-04 11:12 
GeneralRe: Getting Time (milliseconds)m of Seconds Pin
gamitech18-Jun-04 11:15
gamitech18-Jun-04 11:15 
try to use the GetTickCount function
but you will need to set a timer and store you time somewhere


The GetTickCount function retrieves the number of milliseconds that have elapsed since the system was started. It is limited to the resolution of the system timer. To obtain the system timer resolution, use the GetSystemTimeAdjustment function.

DWORD GetTickCount(VOID);


or like this
VOID GetSystemTime(
LPSYSTEMTIME lpSystemTime // system time
);
Parameters
lpSystemTime
[out] Pointer to a SYSTEMTIME structure to receive the current system date and time.

typedef struct _SYSTEMTIME {
WORD wYear;
WORD wMonth;
WORD wDayOfWeek;
WORD wDay;
WORD wHour;
WORD wMinute;
WORD wSecond;
WORD wMilliseconds;
} SYSTEMTIME, *PSYSTEMTIME;

get it ?


gabby
GeneralRe: Getting Time (milliseconds)m of Seconds Pin
Nick Parker18-Jun-04 11:34
protectorNick Parker18-Jun-04 11:34 
GeneralRe: Getting Time (milliseconds)m of Seconds Pin
James R. Twine18-Jun-04 11:37
James R. Twine18-Jun-04 11:37 
GeneralRe: Getting Time (milliseconds)m of Seconds Pin
Grahamfff19-Jun-04 10:51
Grahamfff19-Jun-04 10:51 
GeneralRe: Getting Time (milliseconds)m of Seconds Pin
James R. Twine18-Jun-04 11:35
James R. Twine18-Jun-04 11:35 
GeneralRe: Getting Time (milliseconds)m of Seconds Pin
J.B.19-Jun-04 5:01
J.B.19-Jun-04 5:01 
GeneralProper way to include header files Pin
georgiek5018-Jun-04 9:51
georgiek5018-Jun-04 9:51 
GeneralRe: Proper way to include header files Pin
Johnny ²18-Jun-04 10:33
Johnny ²18-Jun-04 10:33 
GeneralRe: Proper way to include header files Pin
georgiek5018-Jun-04 18:19
georgiek5018-Jun-04 18:19 
GeneralRe: Proper way to include header files Pin
James R. Twine18-Jun-04 11:42
James R. Twine18-Jun-04 11:42 
GeneralRe: Proper way to include header files Pin
Weiye Chen18-Jun-04 15:59
Weiye Chen18-Jun-04 15:59 
GeneralScript Hosting advice Pin
wcmcgr18-Jun-04 9:26
wcmcgr18-Jun-04 9:26 
GeneralRe: Script Hosting advice Pin
Michael P Butler19-Jun-04 2:38
Michael P Butler19-Jun-04 2:38 
GeneralVC++ 6.0 developer neaded Pin
Irek Zielinski18-Jun-04 8:54
Irek Zielinski18-Jun-04 8:54 
GeneralRe: VC++ 6.0 developer neaded Pin
gamitech18-Jun-04 9:08
gamitech18-Jun-04 9:08 
GeneralRe: VC++ 6.0 developer neaded Pin
Irek Zielinski18-Jun-04 9:11
Irek Zielinski18-Jun-04 9:11 
GeneralExplorer Selected File - how to retrieve from ToolBar (ToolBand) Pin
sas222218-Jun-04 8:53
sas222218-Jun-04 8:53 
GeneralRe: Explorer Selected File - how to retrieve from ToolBar (ToolBand) Pin
grigri21-Jun-04 2:43
grigri21-Jun-04 2:43 

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.