Click here to Skip to main content
15,900,973 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: command-line arguments in VS7 Pin
Michael P Butler5-Dec-03 8:42
Michael P Butler5-Dec-03 8:42 
GeneralRe: command-line arguments in VS7 Pin
karunswaroop5-Dec-03 9:33
karunswaroop5-Dec-03 9:33 
GeneralPrinting 2 Pages Per Sheet Pin
K. Shaffer5-Dec-03 7:58
K. Shaffer5-Dec-03 7:58 
GeneralRe: Printing 2 Pages Per Sheet Pin
Steve S9-Dec-03 0:59
Steve S9-Dec-03 0:59 
QuestionFILETIME? DosDateTimeToFileTime() ? Pin
Amit Dey5-Dec-03 7:48
Amit Dey5-Dec-03 7:48 
AnswerRe: FILETIME? DosDateTimeToFileTime() ? Pin
Michael Dunn5-Dec-03 17:46
sitebuilderMichael Dunn5-Dec-03 17:46 
GeneralRe: FILETIME? DosDateTimeToFileTime() ? Pin
Amit Dey5-Dec-03 22:06
Amit Dey5-Dec-03 22:06 
GeneralRe: FILETIME? DosDateTimeToFileTime() ? Pin
Michael Dunn6-Dec-03 0:33
sitebuilderMichael Dunn6-Dec-03 0:33 
Well, casting a DOSDATE to a WORD won't do you any good, since a DOSDATE is not a WORD, nor is it packed into a WORD as described in the docs for DosDateTimeToFileTime(). You'll need to pack them yourself, or do some trickery with the structs, maybe this (note: untested):
typedef struct DOSDATE
{
  unsigned day : 5;
  unsigned month : 4;
  unsigned year : 7;
} DOSDATE;
  
typedef struct DOSTIME
{
  unsigned hour : 5;
  unsigned min : 6;
  unsigned sec : 5;
} DOSTIME;


--Mike--
Ericahist | CP SearchBar v2.0.2 | Homepage | RightClick-Encrypt | 1ClickPicGrabber
If my rhyme was a drug, I'd sell it by the gram.
GeneralTutorial Recommendations Pin
Roger Wright5-Dec-03 7:03
professionalRoger Wright5-Dec-03 7:03 
GeneralRe: Tutorial Recommendations Pin
Michael P Butler5-Dec-03 8:44
Michael P Butler5-Dec-03 8:44 
GeneralRe: Tutorial Recommendations Pin
Roger Wright5-Dec-03 9:03
professionalRoger Wright5-Dec-03 9:03 
GeneralRe: Tutorial Recommendations Pin
Michael P Butler5-Dec-03 9:15
Michael P Butler5-Dec-03 9:15 
GeneralRe: Tutorial Recommendations Pin
Roger Wright5-Dec-03 10:12
professionalRoger Wright5-Dec-03 10:12 
GeneralRe: Tutorial Recommendations Pin
Jörgen Sigvardsson5-Dec-03 14:04
Jörgen Sigvardsson5-Dec-03 14:04 
Questionwait methods!!!? Pin
mitil203904823045-Dec-03 6:55
mitil203904823045-Dec-03 6:55 
AnswerRe: wait methods!!!? Pin
Joe Woodbury5-Dec-03 20:51
professionalJoe Woodbury5-Dec-03 20:51 
GeneralFunction Question Pin
Nitron5-Dec-03 6:36
Nitron5-Dec-03 6:36 
GeneralRe: Function Question Pin
Ivor S. Sargoytchev5-Dec-03 9:01
Ivor S. Sargoytchev5-Dec-03 9:01 
GeneralStartbar Message Monitoring Pin
Zero_divide_15-Dec-03 6:15
Zero_divide_15-Dec-03 6:15 
QuestionDynamic compact/extended toolbar? Pin
johannks5-Dec-03 5:09
johannks5-Dec-03 5:09 
AnswerRe: Dynamic compact/extended toolbar? Pin
Roger Allen5-Dec-03 5:16
Roger Allen5-Dec-03 5:16 
AnswerRe: Dynamic compact/extended toolbar? Pin
Roger Allen5-Dec-03 5:21
Roger Allen5-Dec-03 5:21 
GeneralRe: Dynamic compact/extended toolbar? Pin
johannks5-Dec-03 5:48
johannks5-Dec-03 5:48 
GeneralRe: Dynamic compact/extended toolbar? Pin
johannks5-Dec-03 6:10
johannks5-Dec-03 6:10 
GeneralCTabCtrl is hiding my static text Pin
SteveLoGalbo5-Dec-03 4:26
SteveLoGalbo5-Dec-03 4:26 

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.