Click here to Skip to main content
16,005,162 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Need to convert DWORD to Date Time Pin
Cedric Moonen9-Apr-08 4:04
Cedric Moonen9-Apr-08 4:04 
GeneralRe: Need to convert DWORD to Date Time Pin
CPallini9-Apr-08 4:24
mveCPallini9-Apr-08 4:24 
GeneralRe: Need to convert DWORD to Date Time Pin
led mike9-Apr-08 4:32
led mike9-Apr-08 4:32 
JokeRe: Need to convert DWORD to Date Time Pin
Rajesh R Subramanian9-Apr-08 4:37
professionalRajesh R Subramanian9-Apr-08 4:37 
GeneralRe: Need to convert DWORD to Date Time Pin
CPallini9-Apr-08 4:40
mveCPallini9-Apr-08 4:40 
QuestionRe: Need to convert DWORD to Date Time Pin
David Crow9-Apr-08 5:30
David Crow9-Apr-08 5:30 
GeneralRe: Need to convert DWORD to Date Time Pin
led mike9-Apr-08 6:26
led mike9-Apr-08 6:26 
GeneralRe: Need to convert DWORD to Date Time Pin
Randor 9-Apr-08 5:35
professional Randor 9-Apr-08 5:35 
A nanosecond is one billionth of a second. If you are storing Time in a DWORD represented as 100 nanoseconds then you would not be able to store very much time. a DWORD is a32-bit unsigned integer (0 through 4294967295).

You are probably recieving a FILETIME structure:

http://msdn2.microsoft.com/en-us/library/ms724284(VS.85).aspx
[^]

If for some reason you are actually using a DWORD then you can get seconds like this and work from there.

DWORD dwTime = 524642425;
DWORD dwSeconds = (dwTime/10000000); //52.4642425 seconds


Best Wishes,
-David Delaune
General[Message Deleted] Pin
DivyaSV9-Apr-08 1:56
DivyaSV9-Apr-08 1:56 
GeneralRe: not displaying memory leak information in debug mode Pin
Sarath C9-Apr-08 3:57
Sarath C9-Apr-08 3:57 
GeneralRe: not displaying memory leak information in debug mode Pin
DivyaSV9-Apr-08 17:29
DivyaSV9-Apr-08 17:29 
GeneralRe: not displaying memory leak information in debug mode Pin
Hamid_RT11-Apr-08 0:23
Hamid_RT11-Apr-08 0:23 
GeneralVC++ equivalent of eval Pin
Kuldeep Bhatnagar9-Apr-08 0:36
Kuldeep Bhatnagar9-Apr-08 0:36 
GeneralRe: VC++ equivalent of eval Pin
CPallini9-Apr-08 0:52
mveCPallini9-Apr-08 0:52 
GeneralRe: VC++ equivalent of eval Pin
Cedric Moonen9-Apr-08 0:53
Cedric Moonen9-Apr-08 0:53 
GeneralRe: VC++ equivalent of eval Pin
Kuldeep Bhatnagar9-Apr-08 20:05
Kuldeep Bhatnagar9-Apr-08 20:05 
GeneralRe: VC++ equivalent of eval Pin
Cedric Moonen9-Apr-08 20:40
Cedric Moonen9-Apr-08 20:40 
GeneralRe: VC++ equivalent of eval Pin
Kuldeep Bhatnagar9-Apr-08 22:37
Kuldeep Bhatnagar9-Apr-08 22:37 
GeneralRe: VC++ equivalent of eval Pin
Nibu babu thomas9-Apr-08 0:59
Nibu babu thomas9-Apr-08 0:59 
GeneralRe: VC++ equivalent of eval Pin
Iain Clarke, Warrior Programmer10-Apr-08 0:15
Iain Clarke, Warrior Programmer10-Apr-08 0:15 
GeneralChange the layout of a Button Pin
Schehaider_Aymen9-Apr-08 0:33
Schehaider_Aymen9-Apr-08 0:33 
GeneralRe: Change the layout of a Button Pin
Maximilien9-Apr-08 0:37
Maximilien9-Apr-08 0:37 
GeneralRe: Change the layout of a Button Pin
Schehaider_Aymen9-Apr-08 0:44
Schehaider_Aymen9-Apr-08 0:44 
GeneralRe: Change the layout of a Button Pin
ShilpiP9-Apr-08 0:58
ShilpiP9-Apr-08 0:58 
GeneralRe: Change the layout of a Button Pin
Schehaider_Aymen9-Apr-08 1:02
Schehaider_Aymen9-Apr-08 1:02 

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.