Click here to Skip to main content
15,911,132 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Hexadecimal to Binary Pin
mcsherry3-Jun-05 3:41
mcsherry3-Jun-05 3:41 
GeneralRe: Hexadecimal to Binary Pin
Blake Miller3-Jun-05 4:15
Blake Miller3-Jun-05 4:15 
GeneralSeeking in Large Files Pin
RichardS2-Jun-05 23:00
RichardS2-Jun-05 23:00 
GeneralRe: Seeking in Large Files Pin
Koms Bomb2-Jun-05 23:06
Koms Bomb2-Jun-05 23:06 
GeneralRe: Seeking in Large Files Pin
RichardS2-Jun-05 23:24
RichardS2-Jun-05 23:24 
GeneralRe: Seeking in Large Files Pin
Koms Bomb2-Jun-05 23:36
Koms Bomb2-Jun-05 23:36 
GeneralRe: Seeking in Large Files Pin
RichardS3-Jun-05 3:33
RichardS3-Jun-05 3:33 
GeneralRe: Seeking in Large Files Pin
David Crow3-Jun-05 3:40
David Crow3-Jun-05 3:40 
RichardS wrote:
C-Runtime provide feof, what is the windows API version of this?

When using ReadFile(), consider this from MSDN:

If the return value is nonzero and the number of bytes read is zero, the file pointer was beyond the current end of the file at the time of the read operation. However, if the file was opened with FILE_FLAG_OVERLAPPED and lpOverlapped is not NULL, the return value is FALSE and GetLastError returns ERROR_HANDLE_EOF when the file pointer goes beyond the current end of file.


"Ideas are a dime a dozen. People who put them into action are priceless." - Unknown


GeneralRe: Seeking in Large Files Pin
RichardS3-Jun-05 3:54
RichardS3-Jun-05 3:54 
GeneralRe: Seeking in Large Files Pin
Koms Bomb3-Jun-05 4:07
Koms Bomb3-Jun-05 4:07 
GeneralRe: Seeking in Large Files Pin
David Crow3-Jun-05 2:39
David Crow3-Jun-05 2:39 
GeneralRe: Seeking in Large Files Pin
RichardS3-Jun-05 3:36
RichardS3-Jun-05 3:36 
GeneralRe: Seeking in Large Files Pin
Blake Miller3-Jun-05 4:20
Blake Miller3-Jun-05 4:20 
GeneralStreamOut doesn't preserve CFM_LINK settings Pin
P. Gnana Prakash2-Jun-05 22:19
P. Gnana Prakash2-Jun-05 22:19 
QuestionWindows Media Player, GetVolume(), always return -600? Pin
Koms Bomb2-Jun-05 22:09
Koms Bomb2-Jun-05 22:09 
AnswerRe: Windows Media Player, GetVolume(), always return -600? Pin
P-Rex2-Jun-05 22:20
P-Rex2-Jun-05 22:20 
GeneralRe: Windows Media Player, GetVolume(), always return -600? Pin
Koms Bomb2-Jun-05 22:26
Koms Bomb2-Jun-05 22:26 
Generalbig endian to little endian Pin
GDavy2-Jun-05 22:09
GDavy2-Jun-05 22:09 
GeneralRe: big endian to little endian Pin
RichardS2-Jun-05 23:08
RichardS2-Jun-05 23:08 
GeneralRe: big endian to little endian Pin
GDavy2-Jun-05 23:39
GDavy2-Jun-05 23:39 
GeneralRe: big endian to little endian Pin
cmk5-Jun-05 12:37
cmk5-Jun-05 12:37 
QuestionHow to use EnumSystemLanguageGroups Pin
Hachaso2-Jun-05 21:27
Hachaso2-Jun-05 21:27 
AnswerRe: How to use EnumSystemLanguageGroups Pin
David Crow3-Jun-05 2:49
David Crow3-Jun-05 2:49 
GeneralRe: How to use EnumSystemLanguageGroups Pin
Hachaso6-Jun-05 21:00
Hachaso6-Jun-05 21:00 
GeneralRe: How to use EnumSystemLanguageGroups Pin
David Crow7-Jun-05 3:01
David Crow7-Jun-05 3:01 

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.