Click here to Skip to main content
16,015,481 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralVery Basic Question. Pin
Mazdak4-Apr-02 20:14
Mazdak4-Apr-02 20:14 
GeneralRe: Very Basic Question. Pin
Joaquín M López Muñoz4-Apr-02 20:28
Joaquín M López Muñoz4-Apr-02 20:28 
GeneralRe: Very Basic Question. Pin
Mazdak4-Apr-02 20:34
Mazdak4-Apr-02 20:34 
GeneralRe: Very Basic Question. Pin
Joaquín M López Muñoz4-Apr-02 20:44
Joaquín M López Muñoz4-Apr-02 20:44 
GeneralRe: Very Basic Question. Pin
Mazdak4-Apr-02 20:54
Mazdak4-Apr-02 20:54 
GeneralRe: Very Basic Question. Pin
Joaquín M López Muñoz4-Apr-02 21:08
Joaquín M López Muñoz4-Apr-02 21:08 
GeneralRe: Very Basic Question. Pin
Mazdak4-Apr-02 21:24
Mazdak4-Apr-02 21:24 
GeneralRe: Very Basic Question. Pin
Niklas L4-Apr-02 21:08
Niklas L4-Apr-02 21:08 
If you have no trouble allocating the buffer, you should be able to just type cast the ULONGLONG to a size_t for your count parameter.

Just keep in mind that files can be a lot larger than your address space allows for, in which case you might want to look into memory mapped files.
GeneralRe: Very Basic Question. Pin
Mazdak4-Apr-02 21:22
Mazdak4-Apr-02 21:22 
GeneralRe: Very Basic Question. Pin
PJ Arends4-Apr-02 21:11
professionalPJ Arends4-Apr-02 21:11 
GeneralRe: Very Basic Question. Pin
Mazdak4-Apr-02 21:19
Mazdak4-Apr-02 21:19 
GeneralRe: Very Basic Question. Pin
Jon Hulatt4-Apr-02 21:34
Jon Hulatt4-Apr-02 21:34 
GeneralSplit strigs to substrings Pin
Nektarios Sourligas4-Apr-02 20:00
Nektarios Sourligas4-Apr-02 20:00 
GeneralRe: Split strigs to substrings Pin
Mazdak4-Apr-02 20:08
Mazdak4-Apr-02 20:08 
GeneralRe: Split strigs to substrings Pin
Nektarios Sourligas4-Apr-02 20:24
Nektarios Sourligas4-Apr-02 20:24 
GeneralRe: Split strigs to substrings Pin
Mazdak4-Apr-02 20:45
Mazdak4-Apr-02 20:45 
GeneralRe: Split strigs to substrings Pin
Mazdak4-Apr-02 20:47
Mazdak4-Apr-02 20:47 
GeneralRe: Split strigs to substrings Pin
Joaquín M López Muñoz4-Apr-02 20:24
Joaquín M López Muñoz4-Apr-02 20:24 
GeneralRe: Split strigs to substrings Pin
Paul M Watt4-Apr-02 20:34
mentorPaul M Watt4-Apr-02 20:34 
GeneralRe: Split strigs to substrings Pin
Nektarios Sourligas4-Apr-02 22:45
Nektarios Sourligas4-Apr-02 22:45 
GeneralRe: Split strigs to substrings Pin
Paul M Watt4-Apr-02 23:24
mentorPaul M Watt4-Apr-02 23:24 
GeneralRe: Split strigs to substrings Pin
Michael Dunn5-Apr-02 16:42
sitebuilderMichael Dunn5-Apr-02 16:42 
GeneralCOM Pin
4-Apr-02 17:51
suss4-Apr-02 17:51 
GeneralRe: COM Pin
Paul M Watt4-Apr-02 17:56
mentorPaul M Watt4-Apr-02 17:56 
GeneralRe: COM Pin
Prem Kumar4-Apr-02 21:32
Prem Kumar4-Apr-02 21:32 

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.