Click here to Skip to main content
15,892,005 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: About creating Smart Device DLL using Libxml2 Pin
Stuart Dootson20-Jan-09 21:57
professionalStuart Dootson20-Jan-09 21:57 
GeneralRe: About creating Smart Device DLL using Libxml2 Pin
Stuart Dootson20-Jan-09 23:48
professionalStuart Dootson20-Jan-09 23:48 
QuestionDouble Buffer with Bitblt Pin
Killiconn20-Jan-09 14:28
Killiconn20-Jan-09 14:28 
AnswerRe: Double Buffer with Bitblt Pin
Stuart Dootson20-Jan-09 15:55
professionalStuart Dootson20-Jan-09 15:55 
GeneralRe: Double Buffer with Bitblt Pin
Killiconn20-Jan-09 16:19
Killiconn20-Jan-09 16:19 
AnswerRe: Double Buffer with Bitblt Pin
KarstenK21-Jan-09 2:00
mveKarstenK21-Jan-09 2:00 
GeneralHelp required about c language localtime function Pin
Umer Aziz20-Jan-09 6:07
Umer Aziz20-Jan-09 6:07 
GeneralRe: Help required about c language localtime function Pin
CPallini20-Jan-09 6:43
mveCPallini20-Jan-09 6:43 
Umer Aziz wrote:
As I have learned from someone that this function used the date 1970-01-01 00:00:00 as the base to calculate seconds into date. But when I used it it seems that it use the base date as 1970-01-01 05:00:00. I can't understand this.

localtime adjusts the evaluated time to your local one (hence the five hours shift). use gmtime, instead.


Umer Aziz wrote:
Also is it possible to calculate the date from seconds by using someother base date value. for example i have seconds starting from 1994-01-01 00:00:00 to now, then how to calculate the time from these seconds (base date + seconds).

To use 1994-01-01 00:00:00 as base date, simply add the corrensponding time_t value to your duration and then call gmtime and strftime)
Smile | :)

If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.

This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke

[My articles]

GeneralRe: Help required about c language localtime function Pin
David Crow20-Jan-09 7:12
David Crow20-Jan-09 7:12 
GeneralRe: Help required about c language localtime function Pin
Umer Aziz20-Jan-09 7:19
Umer Aziz20-Jan-09 7:19 
Questionhow to send a file path from shell extension dll to an application Pin
Nitheesh George20-Jan-09 5:32
Nitheesh George20-Jan-09 5:32 
AnswerRe: how to send a file path from shell extension dll to an application Pin
Code-o-mat20-Jan-09 5:53
Code-o-mat20-Jan-09 5:53 
QuestionSutter/Alexandrescu explanation of Exceptions Pin
Member 260377220-Jan-09 5:29
Member 260377220-Jan-09 5:29 
AnswerRe: Sutter/Alexandrescu explanation of Exceptions Pin
Stuart Dootson20-Jan-09 6:02
professionalStuart Dootson20-Jan-09 6:02 
AnswerRe: Sutter/Alexandrescu explanation of Exceptions Pin
Nemanja Trifunovic20-Jan-09 6:20
Nemanja Trifunovic20-Jan-09 6:20 
QuestionCListBox string wrapping Pin
nuclph20-Jan-09 5:00
nuclph20-Jan-09 5:00 
AnswerRe: CListBox string wrapping Pin
Stuart Dootson20-Jan-09 5:47
professionalStuart Dootson20-Jan-09 5:47 
AnswerRe: CListBox string wrapping Pin
Iain Clarke, Warrior Programmer20-Jan-09 6:11
Iain Clarke, Warrior Programmer20-Jan-09 6:11 
GeneralRe: CListBox string wrapping Pin
Nibu babu thomas20-Jan-09 16:57
Nibu babu thomas20-Jan-09 16:57 
GeneralRe: CListBox string wrapping Pin
Iain Clarke, Warrior Programmer20-Jan-09 21:54
Iain Clarke, Warrior Programmer20-Jan-09 21:54 
QuestionLabel box in MFC Pin
bhanu_850920-Jan-09 2:48
bhanu_850920-Jan-09 2:48 
AnswerRe: Label box in MFC Pin
Cedric Moonen20-Jan-09 2:54
Cedric Moonen20-Jan-09 2:54 
GeneralRe: Label box in MFC Pin
bhanu_850920-Jan-09 3:01
bhanu_850920-Jan-09 3:01 
Questionfacing problem on Listing files in List box Control Pin
m_mun20-Jan-09 1:08
m_mun20-Jan-09 1:08 
AnswerRe: facing problem on Listing files in List box Control Pin
Nibu babu thomas20-Jan-09 1:16
Nibu babu thomas20-Jan-09 1:16 

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.