Click here to Skip to main content
15,925,868 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: need help in computer graphics.. Pin
El Corazon24-Jan-07 1:51
El Corazon24-Jan-07 1:51 
QuestionDrawing unicode text in a dialog window Pin
Jogeboy24-Jan-07 0:41
Jogeboy24-Jan-07 0:41 
Questioncstring Pin
zoobiskuit24-Jan-07 0:35
zoobiskuit24-Jan-07 0:35 
AnswerRe: cstring Pin
toxcct24-Jan-07 0:39
toxcct24-Jan-07 0:39 
GeneralRe: cstring Pin
zoobiskuit24-Jan-07 1:15
zoobiskuit24-Jan-07 1:15 
GeneralRe: cstring Pin
toxcct24-Jan-07 1:36
toxcct24-Jan-07 1:36 
GeneralRe: cstring Pin
zoobiskuit24-Jan-07 2:10
zoobiskuit24-Jan-07 2:10 
AnswerRe: cstring [modified] Pin
jhwurmbach24-Jan-07 1:16
jhwurmbach24-Jan-07 1:16 
GeneralRe: cstring Pin
S Douglas24-Jan-07 1:31
professionalS Douglas24-Jan-07 1:31 
QuestionHow do i compile a cpp program using cl.exe ? Pin
Sakthiu24-Jan-07 0:27
Sakthiu24-Jan-07 0:27 
AnswerRe: How do i compile a cpp program using cl.exe ? Pin
toxcct24-Jan-07 0:34
toxcct24-Jan-07 0:34 
GeneralRe: How do i compile a cpp program using cl.exe ? Pin
Sakthiu24-Jan-07 0:42
Sakthiu24-Jan-07 0:42 
GeneralRe: How do i compile a cpp program using cl.exe ? Pin
toxcct24-Jan-07 0:43
toxcct24-Jan-07 0:43 
GeneralRe: How do i compile a cpp program using cl.exe ? Pin
Sakthiu24-Jan-07 1:03
Sakthiu24-Jan-07 1:03 
GeneralRe: How do i compile a cpp program using cl.exe ? Pin
toxcct24-Jan-07 1:37
toxcct24-Jan-07 1:37 
AnswerRe: How do i compile a cpp program using cl.exe ? Pin
David Crow24-Jan-07 4:27
David Crow24-Jan-07 4:27 
Questionhelp in win32 for communication between child dialogs [modified] Pin
amitmistry_petlad 24-Jan-07 0:05
amitmistry_petlad 24-Jan-07 0:05 
Question[GDI] x-offset when using Graphics::DrawString(...) [modified] Pin
_NielsB24-Jan-07 0:01
_NielsB24-Jan-07 0:01 
QuestionRe: [GDI] x-offset when using Graphics::DrawString(...) Pin
Mark Salsbery24-Jan-07 6:24
Mark Salsbery24-Jan-07 6:24 
AnswerRe: [GDI] x-offset when using Graphics::DrawString(...) Pin
_NielsB25-Jan-07 0:58
_NielsB25-Jan-07 0:58 
Questionhelp about date time Pin
Vikram.....23-Jan-07 23:12
Vikram.....23-Jan-07 23:12 
AnswerRe: help about date time Pin
Tony Hill23-Jan-07 23:36
professionalTony Hill23-Jan-07 23:36 
GeneralRe: help about date time Pin
Vikram.....24-Jan-07 1:01
Vikram.....24-Jan-07 1:01 
AnswerRe: help about date time Pin
Nibu babu thomas23-Jan-07 23:44
Nibu babu thomas23-Jan-07 23:44 
vikram Verma wrote:
i need to store time beyond 1st jan 2038 in that object


As the other guy said use COleDateTime, but do not use COleDateTime::GetCurrentTime...

From MSDN...

COleDateTime::GetCurrentTime. The current implementation calls the C run-time function time, which returns a time_t. This limitation isn't currently documented—it presumably took Chris's digging through the Microsoft Foundation Classes (MFC) source code to find it. (As Dr. GUI says, "Use the source, Luke!") Good job. Don't use this function if you need to be year 2038 compliant. Note also that COleDateTime has a constructor and assignment operator that take a time_t—don't use those either.

A suitable replacement will be GetLocalTime.




Nibu thomas
A Developer

Programming tips[^]  My site[^]

AnswerRe: help about date time Pin
Vikram.....24-Jan-07 1:00
Vikram.....24-Jan-07 1:00 

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.