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

C / C++ / MFC

 
Generaldoc/view initialization problem Pin
Stephane Routelous25-Feb-04 5:29
Stephane Routelous25-Feb-04 5:29 
Generalline Pin
Goh Hui Beng25-Feb-04 5:11
Goh Hui Beng25-Feb-04 5:11 
GeneralRe: line Pin
David Crow25-Feb-04 5:31
David Crow25-Feb-04 5:31 
GeneralRe: line Pin
Prakash Nadar25-Feb-04 5:38
Prakash Nadar25-Feb-04 5:38 
General#include <iostream> Pin
torrud25-Feb-04 5:03
torrud25-Feb-04 5:03 
GeneralRe: #include <iostream> Pin
Nemanja Trifunovic25-Feb-04 5:16
Nemanja Trifunovic25-Feb-04 5:16 
GeneralRe: #include <iostream> Pin
torrud25-Feb-04 5:57
torrud25-Feb-04 5:57 
GeneralConvert File format... Pin
rasha200325-Feb-04 4:57
rasha200325-Feb-04 4:57 
GeneralRe: Convert File format... Pin
_Magnus_25-Feb-04 5:14
_Magnus_25-Feb-04 5:14 
GeneralRe: Convert File format... Pin
l a u r e n25-Feb-04 6:50
l a u r e n25-Feb-04 6:50 
QuestionExe and DLL share a common heap? Pin
Halloko25-Feb-04 4:31
Halloko25-Feb-04 4:31 
AnswerRe: Exe and DLL share a common heap? Pin
Prakash Nadar25-Feb-04 4:40
Prakash Nadar25-Feb-04 4:40 
AnswerRe: Exe and DLL share a common heap? Pin
Nemanja Trifunovic25-Feb-04 5:21
Nemanja Trifunovic25-Feb-04 5:21 
GeneralRe: Exe and DLL share a common heap? Pin
valikac25-Feb-04 17:13
valikac25-Feb-04 17:13 
GeneralCreating time object of a non local timezone Pin
DimpleSurana25-Feb-04 4:30
DimpleSurana25-Feb-04 4:30 
"SystemTimeToTzSpecificLocalTime" Windows Platform SDK call seems to satisy what i want to do. But again to populate the _TIME_ZONE_INFORMATION struct is a problem. Generally it is populated from the local TimeZone (Environment variable). Any Hints/Help to populate this struct with a non-local Timezone data.

BOOL SystemTimeToTzSpecificLocalTime(
LPTIME_ZONE_INFORMATION lpTimeZone,
LPSYSTEMTIME lpUniversalTime,
LPSYSTEMTIME lpLocalTime
);

typedef struct _TIME_ZONE_INFORMATION
{ LONG Bias;
WCHAR StandardName[32];
SYSTEMTIME StandardDate;
LONG StandardBias;
WCHAR DaylightName[32];
SYSTEMTIME DaylightDate;
LONG DaylightBias;
} TIME_ZONE_INFORMATION, *PTIME_ZONE_INFORMATION;

Also i was wondering if anybody has seen the MultiTimeZone Clock Screen Saver. If the source code of that could be got it would make life simpler.


Dimple
GeneralRe: Creating time object of a non local timezone Pin
David Crow25-Feb-04 5:07
David Crow25-Feb-04 5:07 
GeneralRe: Creating time object of a non local timezone Pin
DimpleSurana25-Feb-04 18:26
DimpleSurana25-Feb-04 18:26 
GeneralRe: Creating time object of a non local timezone Pin
David Crow26-Feb-04 2:51
David Crow26-Feb-04 2:51 
GeneralRe: Creating time object of a non local timezone Pin
DimpleSurana26-Feb-04 3:49
DimpleSurana26-Feb-04 3:49 
GeneralRe: Creating time object of a non local timezone Pin
David Crow3-Mar-04 2:49
David Crow3-Mar-04 2:49 
Generalhex to dec Pin
styve25-Feb-04 3:53
styve25-Feb-04 3:53 
GeneralRe: hex to dec Pin
Prakash Nadar25-Feb-04 4:17
Prakash Nadar25-Feb-04 4:17 
GeneralRe: hex to dec Pin
David Crow25-Feb-04 4:24
David Crow25-Feb-04 4:24 
GeneralRe: hex to dec Pin
Prakash Nadar25-Feb-04 4:33
Prakash Nadar25-Feb-04 4:33 
GeneralRe: hex to dec Pin
David Crow25-Feb-04 4:38
David Crow25-Feb-04 4:38 

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.