Click here to Skip to main content
15,913,854 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralPrint Preview Pin
act_x10-Jan-05 7:53
act_x10-Jan-05 7:53 
GeneralAccessing/ updating document data in a separate class Pin
help_wanted10-Jan-05 7:11
help_wanted10-Jan-05 7:11 
GeneralRe: Accessing/ updating document data in a separate class Pin
act_x10-Jan-05 8:07
act_x10-Jan-05 8:07 
GeneralRe: Accessing/ updating document data in a separate class Pin
help_wanted10-Jan-05 8:37
help_wanted10-Jan-05 8:37 
GeneralRe: Accessing/ updating document data in a separate class Pin
Iain Clarke, Warrior Programmer10-Jan-05 8:21
Iain Clarke, Warrior Programmer10-Jan-05 8:21 
GeneralRe: Accessing/ updating document data in a separate class Pin
help_wanted10-Jan-05 8:36
help_wanted10-Jan-05 8:36 
GeneralRe: Accessing/ updating document data in a separate class Pin
Iain Clarke, Warrior Programmer10-Jan-05 9:50
Iain Clarke, Warrior Programmer10-Jan-05 9:50 
GeneralFileTimeToSystemTime question Pin
Shay Harel10-Jan-05 7:00
Shay Harel10-Jan-05 7:00 
Hi,

I am using this to get the time a file was written to and it looks like it always gives me the GMT time and not my local time.

So...

If I write this
<br />
SYSTEMTIME *sys_time=new SYSTEMTIME;<br />
FileTimeToSystemTime (&fd.ftLastWriteTime,sys_time);<br />


Now, sys_time->wHour will not be the eastern time but GMT,so it will be 5 hours forward.

I can easily take off 5 hours, but if it gives me 0 then I have to rull bakc a whole day or year and I don't know of an easy way to do so...

any idea ?
GeneralRe: FileTimeToSystemTime question Pin
basementman10-Jan-05 7:21
basementman10-Jan-05 7:21 
GeneralRe: FileTimeToSystemTime question Pin
Shay Harel10-Jan-05 8:57
Shay Harel10-Jan-05 8:57 
GeneralConversion class Pin
Renjith Ramachandran10-Jan-05 6:43
Renjith Ramachandran10-Jan-05 6:43 
GeneralRe: Conversion class Pin
act_x10-Jan-05 8:03
act_x10-Jan-05 8:03 
GeneralRe: Conversion class Pin
PJ Arends10-Jan-05 8:44
professionalPJ Arends10-Jan-05 8:44 
GeneralRe: Conversion class Pin
David Crow11-Jan-05 10:31
David Crow11-Jan-05 10:31 
GeneralTAO Corba (Visual Studio) Pin
sweep12310-Jan-05 6:22
sweep12310-Jan-05 6:22 
GeneralProblem with XP! Pin
Lazzari Patrizio10-Jan-05 5:50
Lazzari Patrizio10-Jan-05 5:50 
GeneralRe: Problem with XP! Pin
Iain Clarke, Warrior Programmer10-Jan-05 8:26
Iain Clarke, Warrior Programmer10-Jan-05 8:26 
GeneralRe: Problem with XP! Pin
Lazzari Patrizio10-Jan-05 21:00
Lazzari Patrizio10-Jan-05 21:00 
GeneralRe: Problem with XP! Pin
Iain Clarke, Warrior Programmer11-Jan-05 0:58
Iain Clarke, Warrior Programmer11-Jan-05 0:58 
GeneralRe: Problem with XP! Pin
Lazzari Patrizio11-Jan-05 1:15
Lazzari Patrizio11-Jan-05 1:15 
GeneralRe: Problem with XP! Pin
Antony M Kancidrowski11-Jan-05 2:10
Antony M Kancidrowski11-Jan-05 2:10 
GeneralRe: Problem with XP! Pin
Iain Clarke, Warrior Programmer11-Jan-05 2:45
Iain Clarke, Warrior Programmer11-Jan-05 2:45 
Generalplease help if you can - this problem is driving me mad! Pin
AnthonyDalton10-Jan-05 5:22
AnthonyDalton10-Jan-05 5:22 
GeneralRe: please help if you can - this problem is driving me mad! Pin
Martin Koorts10-Jan-05 6:07
Martin Koorts10-Jan-05 6:07 
GeneralInitiate Sending EMail from C++ Pin
Vancouver10-Jan-05 4:44
Vancouver10-Jan-05 4:44 

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.