Click here to Skip to main content
15,922,533 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralEXE on DOS and win32 Pin
pranavamhari4-Jan-04 19:54
pranavamhari4-Jan-04 19:54 
GeneralRe: EXE on DOS and win32 Pin
abc8764-Jan-04 20:06
abc8764-Jan-04 20:06 
GeneralRe: EXE on DOS and win32 Pin
Rickard Andersson205-Jan-04 2:55
Rickard Andersson205-Jan-04 2:55 
Generalgethostbyname failed in Window XP Pin
lauch24-Jan-04 19:34
lauch24-Jan-04 19:34 
GeneralRe: gethostbyname failed in Window XP Pin
Roger Wright4-Jan-04 20:42
professionalRoger Wright4-Jan-04 20:42 
GeneralRe: gethostbyname failed in Window XP Pin
lauch24-Jan-04 21:31
lauch24-Jan-04 21:31 
GeneralCPropertySheet failing to create Pin
Kibble4-Jan-04 18:41
Kibble4-Jan-04 18:41 
GeneralRe: CPropertySheet failing to create Pin
valikac5-Jan-04 4:53
valikac5-Jan-04 4:53 
Generali learn c++ Pin
than naing nge4-Jan-04 18:35
sussthan naing nge4-Jan-04 18:35 
GeneralRe: i learn c++ Pin
Selvam R4-Jan-04 18:47
professionalSelvam R4-Jan-04 18:47 
GeneralRe: i learn c++ Pin
abc8764-Jan-04 20:03
abc8764-Jan-04 20:03 
GeneralRe: i learn c++ Pin
jhwurmbach4-Jan-04 21:54
jhwurmbach4-Jan-04 21:54 
GeneralRe: i learn c++ Pin
Balkrishna Talele4-Jan-04 23:48
Balkrishna Talele4-Jan-04 23:48 
Generalcompliler cannot open 'include file' Pin
mapledrops4-Jan-04 18:06
sussmapledrops4-Jan-04 18:06 
GeneralRe: compliler cannot open 'include file' Pin
Selvam R4-Jan-04 18:52
professionalSelvam R4-Jan-04 18:52 
Generalcompliler cannot open 'include file' Pin
Anonymous4-Jan-04 18:04
Anonymous4-Jan-04 18:04 
GeneralRe: compliler cannot open 'include file' Pin
abc8764-Jan-04 19:58
abc8764-Jan-04 19:58 
QuestionWhat functions are there to read from files? Pin
obe4-Jan-04 11:31
obe4-Jan-04 11:31 
AnswerRe: What functions are there to read from files? Pin
alex.barylski4-Jan-04 16:38
alex.barylski4-Jan-04 16:38 
GeneralRe: What functions are there to read from files? Pin
obe4-Jan-04 19:23
obe4-Jan-04 19:23 
AnswerRe: What functions are there to read from files? Pin
abc8764-Jan-04 19:54
abc8764-Jan-04 19:54 
GeneralThanks, but I would like to know which SYSTEM-LEVEL functions Pin
obe4-Jan-04 21:34
obe4-Jan-04 21:34 
GeneralRe: Thanks, but I would like to know which SYSTEM-LEVEL functions Pin
jan larsen6-Jan-04 2:00
jan larsen6-Jan-04 2:00 
ReadFile is the most low level API call you cant get for reading directly from a handle, but there is also a more sophisticated way to read a file.
You could create a memory mapping of the file and then use any developer tricks you can dream up.
An example: If the file is a bitmap file, then you can cast the void * you get from the mapping to a struct BITMAPFILEHEADER *, and then read from the members of that structure.

"After all it's just text at the end of the day. - Colin Davies

"For example, when a VB programmer comes to my house, they may say 'does your pool need cleaning, sir ?' " - Christian Graus
GeneralRe: Thanks, but I would like to know which SYSTEM-LEVEL functions Pin
obe6-Jan-04 8:58
obe6-Jan-04 8:58 
GeneralRe: Thanks, but I would like to know which SYSTEM-LEVEL functions Pin
jan larsen6-Jan-04 21:12
jan larsen6-Jan-04 21: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.