Click here to Skip to main content
16,007,932 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generalgetting userID Pin
maggi198119-Jul-04 6:41
sussmaggi198119-Jul-04 6:41 
GeneralRe: getting userID Pin
19-Jul-04 7:06
suss19-Jul-04 7:06 
Generalproblem with OnFileOpen Pin
toothpick19-Jul-04 6:31
toothpick19-Jul-04 6:31 
GeneralRe: problem with OnFileOpen Pin
PJ Arends19-Jul-04 7:22
professionalPJ Arends19-Jul-04 7:22 
GeneralRe: problem with OnFileOpen Pin
Antti Keskinen19-Jul-04 14:30
Antti Keskinen19-Jul-04 14:30 
GeneralRe: problem with OnFileOpen Pin
toothpick20-Jul-04 12:56
toothpick20-Jul-04 12:56 
GeneralFile Mapping Pin
Toni7819-Jul-04 6:24
Toni7819-Jul-04 6:24 
GeneralRe: File Mapping Pin
bikram singh19-Jul-04 11:02
bikram singh19-Jul-04 11:02 
Toni78 wrote:
will the offsets in memory correspond to the ones in the disk

Yes, they will. However, ensure that either the whole file has been mapped, or the relevant portion that you want to access, has been mapped.

Note that the "offset" must be added to the address returned by MapViewOfFile(). Optionally, MapViewOfFileEx() allows you to specify your own base address where the file will be "loaded".

Memory alignment has to be taken into consideration when
the file was opened with FILE_FLAG_NO_BUFFERING in the CreateFile() call.



Bikram Singh

GeneralRe: File Mapping Pin
Toni7821-Jul-04 8:47
Toni7821-Jul-04 8:47 
GeneralUsing the Clipboard Pin
tunerica19-Jul-04 6:21
tunerica19-Jul-04 6:21 
GeneralRe: Using the Clipboard Pin
PJ Arends19-Jul-04 7:49
professionalPJ Arends19-Jul-04 7:49 
GeneralSending mail using CDOSYS Pin
Mike Beckerleg19-Jul-04 5:41
Mike Beckerleg19-Jul-04 5:41 
GeneralRe: Sending mail using CDOSYS Pin
Antti Keskinen19-Jul-04 14:35
Antti Keskinen19-Jul-04 14:35 
Generalfailing constructors Pin
Michael Farrugia19-Jul-04 5:24
Michael Farrugia19-Jul-04 5:24 
GeneralRe: failing constructors Pin
peterchen19-Jul-04 5:41
peterchen19-Jul-04 5:41 
GeneralRe: failing constructors Pin
bikram singh19-Jul-04 11:25
bikram singh19-Jul-04 11:25 
GeneralRe: failing constructors Pin
Michael Farrugia19-Jul-04 22:53
Michael Farrugia19-Jul-04 22:53 
GeneralSetBkColor does not seem to work in OnInitDialog Pin
maxsteel19-Jul-04 5:02
maxsteel19-Jul-04 5:02 
GeneralRe: SetBkColor does not seem to work in OnInitDialog Pin
vcplusplus19-Jul-04 5:52
vcplusplus19-Jul-04 5:52 
GeneralRe: SetBkColor does not seem to work in OnInitDialog Pin
maxsteel19-Jul-04 18:42
maxsteel19-Jul-04 18:42 
GeneralRe: SetBkColor does not seem to work in OnInitDialog Pin
vcplusplus20-Jul-04 3:04
vcplusplus20-Jul-04 3:04 
GeneralRe: SetBkColor does not seem to work in OnInitDialog Pin
Alexander Wiseman19-Jul-04 5:56
Alexander Wiseman19-Jul-04 5:56 
GeneralRe: SetBkColor does not seem to work in OnInitDialog Pin
Ravi Bhavnani19-Jul-04 6:54
professionalRavi Bhavnani19-Jul-04 6:54 
GeneralRe: SetBkColor does not seem to work in OnInitDialog Pin
maxsteel19-Jul-04 18:43
maxsteel19-Jul-04 18:43 
QuestionSDI Project - How do display a new Window object that is NOT On Top of the Main Window?? Pin
jerry1211a19-Jul-04 4:56
jerry1211a19-Jul-04 4:56 

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.