Click here to Skip to main content
       

C / C++ / MFC

 
QuestionHow do you get the file size for an open file? PinmemberMember 41945938-Jan-13 3:29 
AnswerRe: How do you get the file size for an open file? PinmemberJochen Arndt8-Jan-13 4:14 
GeneralRe: How do you get the file size for an open file? PinmemberMember 41945938-Jan-13 10:27 
GeneralRe: How do you get the file size for an open file? PinmemberMember 41945938-Jan-13 12:24 
Jochen,
 
With this line, everything works correctly:
 
    SizeLow = GetFileSize(_get_osfhandle(_fileno(fp)), & SizeHigh);
 
Thanks for the pointer.
 
Dave.
QuestionWhile launching a winapp as ole server some time OnFIleNew() failed Pinmembervermaashish_mca8-Jan-13 1:36 
AnswerRe: While launching a winapp as ole server some time OnFIleNew() failed PinmemberJochen Arndt8-Jan-13 2:51 
QuestionIcon/Bitmap missing in 1st control (MFC dialog) Pinmember_jg_7-Jan-13 22:52 
QuestionThe task runtime question of RTOS. Pinmemberecony7-Jan-13 5:22 
AnswerRe: The task runtime question of RTOS. Pinmemberjeron17-Jan-13 5:35 
AnswerRe: The task runtime question of RTOS. [modified] PinmemberJoe Woodbury7-Jan-13 10:28 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web03 | 2.8.140814.1 | Last Updated 20 Aug 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid