Click here to Skip to main content
15,885,365 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Monitoring a process Pin
rwestgraham31-Jan-05 18:50
rwestgraham31-Jan-05 18:50 
GeneralRe: Monitoring a process Pin
Blake Miller1-Feb-05 4:54
Blake Miller1-Feb-05 4:54 
GeneralAutomation Server Pin
Anonymous31-Jan-05 18:05
Anonymous31-Jan-05 18:05 
GeneralCComboBox Properties Pin
LighthouseJ31-Jan-05 17:17
LighthouseJ31-Jan-05 17:17 
GeneralRe: CComboBox Properties Pin
Ryan Binns31-Jan-05 17:56
Ryan Binns31-Jan-05 17:56 
GeneralRe: CComboBox Properties Pin
LighthouseJ31-Jan-05 18:01
LighthouseJ31-Jan-05 18:01 
QuestionMapViewOfFile returning ERROR_ACCESS_DENIED? Pin
Michael Dunn31-Jan-05 16:09
sitebuilderMichael Dunn31-Jan-05 16:09 
AnswerRe: MapViewOfFile returning ERROR_ACCESS_DENIED? Pin
Ryan Binns31-Jan-05 17:53
Ryan Binns31-Jan-05 17:53 
Michael Dunn wrote:
The other odd thing is that if I change dwMappingSize to 0 on the CreateFileMapping() call - making the file mapping object the size of the whole file - it works fine.

From the docs for CreateFileMapping() - "After a file mapping object has been created, the size of the file must not exceed the size of the file mapping object". IMO, this suggests that the size passed to CreateFileMapping() has to be at least the size of the file, not the size of the mapped portion. It's kinda like saying that this parameter gives the size of the virtual address space used by the file mapper, regardless of how much is actually in use.

Ryan
"Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late" John Nichol "Point Of Impact"

GeneralRe: MapViewOfFile returning ERROR_ACCESS_DENIED? Pin
Michael Dunn1-Feb-05 6:51
sitebuilderMichael Dunn1-Feb-05 6:51 
GeneralRe: MapViewOfFile returning ERROR_ACCESS_DENIED? Pin
Ryan Binns1-Feb-05 12:47
Ryan Binns1-Feb-05 12:47 
Generalword seperating algorithm Pin
jonavon blakly31-Jan-05 15:51
jonavon blakly31-Jan-05 15:51 
GeneralRe: word seperating algorithm Pin
David Crow31-Jan-05 16:40
David Crow31-Jan-05 16:40 
GeneralRe: word seperating algorithm Pin
jonavon blakly9-Feb-05 15:59
jonavon blakly9-Feb-05 15:59 
GeneralRe: word seperating algorithm Pin
David Crow10-Feb-05 5:28
David Crow10-Feb-05 5:28 
Generalquickcam project Pin
mark18231-Jan-05 14:33
mark18231-Jan-05 14:33 
GeneralRe: quickcam project Pin
mcsherry31-Jan-05 21:48
mcsherry31-Jan-05 21:48 
QuestionWho can help me about hooks using hot-key? Pin
TTT8131-Jan-05 14:02
TTT8131-Jan-05 14:02 
AnswerRe: Who can help me about hooks using hot-key? Pin
RicoH1-Feb-05 0:39
RicoH1-Feb-05 0:39 
GeneralIgnore Windows key + M Pin
Mike Hell31-Jan-05 12:36
Mike Hell31-Jan-05 12:36 
GeneralWM_PAINT seems not working Pin
int01hh31-Jan-05 12:28
int01hh31-Jan-05 12:28 
GeneralRe: WM_PAINT seems not working Pin
beerboy_2231-Jan-05 13:31
beerboy_2231-Jan-05 13:31 
GeneralRe: WM_PAINT seems not working Pin
JohnCz31-Jan-05 14:12
JohnCz31-Jan-05 14:12 
GeneralRe: WM_PAINT seems not working Pin
int01hh3-Feb-05 9:02
int01hh3-Feb-05 9:02 
GeneralList Control displays no Text Pin
RobertW10031-Jan-05 8:16
RobertW10031-Jan-05 8:16 
GeneralAnother user interface Thread Question Pin
Tom Wright31-Jan-05 7:39
Tom Wright31-Jan-05 7:39 

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.