Click here to Skip to main content
15,914,408 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralURGENT !! Please Need help printing bitmap Pin
crazydave224-Dec-03 1:34
crazydave224-Dec-03 1:34 
Generalneed help on setting state flags Pin
coda_x4-Dec-03 1:07
coda_x4-Dec-03 1:07 
GeneralRe: need help on setting state flags Pin
David Crow4-Dec-03 4:08
David Crow4-Dec-03 4:08 
GeneralRe: need help on setting state flags Pin
coda_x4-Dec-03 20:04
coda_x4-Dec-03 20:04 
GeneralMajor bug in COleDateTime in MFC7 Pin
Anonymous4-Dec-03 0:48
Anonymous4-Dec-03 0:48 
GeneralRe: Major bug in COleDateTime in MFC7 Pin
Steve S4-Dec-03 1:26
Steve S4-Dec-03 1:26 
GeneralRe: Major bug in COleDateTime in MFC7 Pin
Mike Dimmick4-Dec-03 2:45
Mike Dimmick4-Dec-03 2:45 
GeneralSorry, it's really FindFirstFile that has the bug! Pin
Anonymous4-Dec-03 2:53
Anonymous4-Dec-03 2:53 
I actually was wrong about the bug being in COleDateTime. Rather it seems to happen in FindFirstFile.
If you compile this code in VC6 the file creation time returned will be the same as shown in windows explorer, however if you compile the exact same code with VS.NET it gives the time one hour less.

HANDLE hSearch;
WIN32_FIND_DATA findFileData;
CString strMask("c:\\*.txt");
CString str;


hSearch = ::FindFirstFile(strMask, &findFileData);
COleDateTime dt;
if (hSearch != INVALID_HANDLE_VALUE)
{
dt = findFileData.ftLastWriteTime;
str = dt.Format();
}


GeneralRe: Sorry, it's really FindFirstFile that has the bug! Pin
David Crow4-Dec-03 6:03
David Crow4-Dec-03 6:03 
GeneralRe: Sorry, it's really FindFirstFile that has the bug! Pin
Anonymous4-Dec-03 7:07
Anonymous4-Dec-03 7:07 
GeneralRe: Sorry, it's really FindFirstFile that has the bug! Pin
David Crow4-Dec-03 7:52
David Crow4-Dec-03 7:52 
GeneralRe: Sorry, it's really FindFirstFile that has the bug! Pin
Joe Woodbury4-Dec-03 15:15
professionalJoe Woodbury4-Dec-03 15:15 
GeneralRe: Sorry, it's really FindFirstFile that has the bug! Pin
Anonymous8-Dec-03 22:00
Anonymous8-Dec-03 22:00 
GeneralDDX control access in dialogs Pin
J.B.4-Dec-03 0:29
J.B.4-Dec-03 0:29 
GeneralRe: DDX control access in dialogs Pin
Steve S4-Dec-03 0:34
Steve S4-Dec-03 0:34 
GeneralRe: DDX control access in dialogs Pin
J.B.4-Dec-03 0:56
J.B.4-Dec-03 0:56 
GeneralRe: DDX control access in dialogs Pin
J.B.4-Dec-03 1:16
J.B.4-Dec-03 1:16 
GeneralRe: DDX control access in dialogs Pin
Steve S4-Dec-03 1:25
Steve S4-Dec-03 1:25 
GeneralRe: DDX control access in dialogs Pin
David Crow4-Dec-03 6:05
David Crow4-Dec-03 6:05 
Questionmysql connection? Pin
murali_utr4-Dec-03 0:22
murali_utr4-Dec-03 0:22 
AnswerRe: mysql connection? Pin
Prakash Nadar4-Dec-03 4:42
Prakash Nadar4-Dec-03 4:42 
AnswerRe: mysql connection? Pin
BaldwinMartin4-Dec-03 5:22
BaldwinMartin4-Dec-03 5:22 
GeneralWindows Add/Remove programs dialog Pin
Shah Shehpori3-Dec-03 23:14
sussShah Shehpori3-Dec-03 23:14 
GeneralRe: Windows Add/Remove programs dialog Pin
Mike Dimmick4-Dec-03 2:50
Mike Dimmick4-Dec-03 2:50 
GeneralHelp me please!!! Deconvolution Pin
Angeluna3-Dec-03 23:12
sussAngeluna3-Dec-03 23:12 

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.