Click here to Skip to main content
15,920,503 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Examples of SaveAs in winapi / c++ Pin
Nicola Curran17-Nov-09 2:38
Nicola Curran17-Nov-09 2:38 
AnswerRe: Examples of SaveAs in winapi / c++ Pin
CPallini17-Nov-09 2:46
mveCPallini17-Nov-09 2:46 
GeneralRe: Examples of SaveAs in winapi / c++ Pin
Nicola Curran17-Nov-09 3:10
Nicola Curran17-Nov-09 3:10 
GeneralRe: Examples of SaveAs in winapi / c++ Pin
Nicola Curran17-Nov-09 3:13
Nicola Curran17-Nov-09 3:13 
GeneralRe: Examples of SaveAs in winapi / c++ Pin
Nicola Curran17-Nov-09 3:13
Nicola Curran17-Nov-09 3:13 
QuestionDont send error message occured only once Pin
thippipriya17-Nov-09 2:02
thippipriya17-Nov-09 2:02 
QuestionRe: Dont send error message occured only once Pin
David Crow17-Nov-09 3:37
David Crow17-Nov-09 3:37 
AnswerRe: Dont send error message occured only once [modified] Pin
thippipriya17-Nov-09 16:25
thippipriya17-Nov-09 16:25 
QuestionCalling dll function Pin
Le@rner17-Nov-09 1:05
Le@rner17-Nov-09 1:05 
AnswerRe: Calling dll function Pin
SandipG 17-Nov-09 1:29
SandipG 17-Nov-09 1:29 
AnswerRe: Calling dll function Pin
Kushagra Tiwari17-Nov-09 2:46
Kushagra Tiwari17-Nov-09 2:46 
QuestionHow to create a vector? Pin
deadlyabbas17-Nov-09 0:58
deadlyabbas17-Nov-09 0:58 
AnswerRe: How to create a vector? Pin
Jijo.Raj17-Nov-09 1:30
Jijo.Raj17-Nov-09 1:30 
GeneralRe: How to create a vector? Pin
deadlyabbas17-Nov-09 3:50
deadlyabbas17-Nov-09 3:50 
GeneralRe: How to create a vector? Pin
«_Superman_»17-Nov-09 7:17
professional«_Superman_»17-Nov-09 7:17 
Questiondde problem Pin
trioum17-Nov-09 0:24
trioum17-Nov-09 0:24 
QuestionFind out Build Configuration from exe Pin
Maya_16-Nov-09 23:21
Maya_16-Nov-09 23:21 
AnswerRe: Find out Build Configuration from exe Pin
Randor 17-Nov-09 2:13
professional Randor 17-Nov-09 2:13 
QuestionRe: Find out Build Configuration from exe Pin
David Crow17-Nov-09 3:43
David Crow17-Nov-09 3:43 
AnswerRe: Find out Build Configuration from exe Pin
Randor 17-Nov-09 11:21
professional Randor 17-Nov-09 11:21 
Hi DavidCrow,

The difference is that CreateFileMapping will load the entire executable into virtual memory. Using CreateFile/ReadFile will probably map an executable into the pagefile up to the allocation granularity of the system which is 64K on a 32 bit NT OS depending on which CreateFile flags have been used.

Typically when I iterate through PE sections and read data I use CreateFileMapping for performance reasons. Although for simply checking the IMAGE_FILE_DEBUG_STRIPPED flag a series of ReadFile calls would be sufficient.

At any rate... a code sample is exactly that. It is a code sample.

Best Wishes,
-David Delaune
GeneralRe: Find out Build Configuration from exe Pin
Maya_17-Nov-09 5:22
Maya_17-Nov-09 5:22 
GeneralRe: Find out Build Configuration from exe Pin
Maya_17-Nov-09 16:05
Maya_17-Nov-09 16:05 
GeneralRe: Find out Build Configuration from exe Pin
Randor 17-Nov-09 16:29
professional Randor 17-Nov-09 16:29 
GeneralRe: Find out Build Configuration from exe Pin
Maya_18-Nov-09 2:32
Maya_18-Nov-09 2:32 
Questiondll for middleware Pin
Eka Candra16-Nov-09 20:24
Eka Candra16-Nov-09 20:24 

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.