Click here to Skip to main content
16,018,417 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Regarding write into AVI files [modified] Pin
Covean12-Jan-10 21:50
Covean12-Jan-10 21:50 
GeneralRe: Regarding write into AVI files Pin
Covean13-Jan-10 22:55
Covean13-Jan-10 22:55 
QuestionVirtual address to 'physical' address Pin
urbanyoung11-Jan-10 22:05
urbanyoung11-Jan-10 22:05 
AnswerRe: Virtual address to 'physical' address Pin
Richard MacCutchan12-Jan-10 2:10
mveRichard MacCutchan12-Jan-10 2:10 
AnswerRe: Virtual address to 'physical' address Pin
Covean12-Jan-10 4:07
Covean12-Jan-10 4:07 
AnswerRe: Virtual address to 'physical' address Pin
Nemanja Trifunovic12-Jan-10 4:34
Nemanja Trifunovic12-Jan-10 4:34 
AnswerRe: Virtual address to 'physical' address Pin
Luc Pattyn12-Jan-10 6:16
sitebuilderLuc Pattyn12-Jan-10 6:16 
AnswerRe: Virtual address to 'physical' address Pin
Bram van Kampen12-Jan-10 14:37
Bram van Kampen12-Jan-10 14:37 
You should look up the PE File Format. In short, the compiler/linker fixes the 'Call' addresses in exe's on the basis that the exe will be loaded at starting address 0x00400000. (All recent MS OpSystes load all processes there.) In the case of DLL Code (which can be loaded anywhere) the compiler/linker includes a relocation table, containing details of the memory locations which must be changed depending on the load address.
The beauty of Virtual memory is that each process 'thinks' that it has the entire 4GB memory range available, all for itself, even if you don't have 4GB of RAM installed.

BTW IMHO your question has absolutely nothing to do with physical memory. Physical addresses are both invisible and unimportant to processes. As for referring to a function in another process: basically you can't do that. Windows ensures that processes are invisible from eachother. That is a good thing. It means for instance that your program operates exactly the same whether you also run a copy of MS Office on the same computer or not! MS Office is completely unaware of your program, and viceversa.

Smile | :)

Bram van Kampen

GeneralRe: Virtual address to 'physical' address Pin
jbojarczuk15-Jan-10 1:58
jbojarczuk15-Jan-10 1:58 
GeneralRe: Virtual address to 'physical' address Pin
Bram van Kampen17-Jan-10 5:31
Bram van Kampen17-Jan-10 5:31 
QuestionGetlastError() returning 87 when i use EndPage() in my printing application Pin
kir_MFC11-Jan-10 20:51
kir_MFC11-Jan-10 20:51 
QuestionRe: GetlastError() returning 87 when i use EndPage() in my printing application Pin
CPallini11-Jan-10 21:41
mveCPallini11-Jan-10 21:41 
AnswerRe: GetlastError() returning 87 when i use EndPage() in my printing application Pin
kir_MFC11-Jan-10 22:24
kir_MFC11-Jan-10 22:24 
QuestionRe: GetlastError() returning 87 when i use EndPage() in my printing application Pin
CPallini11-Jan-10 22:45
mveCPallini11-Jan-10 22:45 
GeneralRe: GetlastError() returning 87 when i use EndPage() in my printing application Pin
WoutL12-Jan-10 1:08
WoutL12-Jan-10 1:08 
AnswerRe: GetlastError() returning 87 when i use EndPage() in my printing application [modified] Pin
Covean11-Jan-10 21:45
Covean11-Jan-10 21:45 
QuestionNavigating to a folder using CFileDialog Pin
maycockt11-Jan-10 20:46
maycockt11-Jan-10 20:46 
AnswerRe: Navigating to a folder using CFileDialog Pin
KingsGambit11-Jan-10 21:18
KingsGambit11-Jan-10 21:18 
AnswerRe: Navigating to a folder using CFileDialog Pin
Code-o-mat11-Jan-10 22:08
Code-o-mat11-Jan-10 22:08 
QuestionOracle describe Pin
rdop11-Jan-10 19:45
rdop11-Jan-10 19:45 
AnswerRe: Oracle describe Pin
xushih13-Jan-10 1:08
xushih13-Jan-10 1:08 
QuestionDiference between hash_map and hash_multi map. how to implement hash_multimap in VS2008 (for C++) Pin
Nandu_77b11-Jan-10 19:26
Nandu_77b11-Jan-10 19:26 
AnswerRe: Diference between hash_map and hash_multi map. how to implement hash_multimap in VS2008 (for C++) Pin
_AnsHUMAN_ 11-Jan-10 19:32
_AnsHUMAN_ 11-Jan-10 19:32 
GeneralRe: Diference between hash_map and hash_multi map. how to implement hash_multimap in VS2008 (for C++) Pin
Nandu_77b12-Jan-10 0:21
Nandu_77b12-Jan-10 0:21 
QuestionSplit header in clistcontrol Pin
itkid11-Jan-10 19:25
itkid11-Jan-10 19:25 

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.