Click here to Skip to main content
15,929,596 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Application name depending on code #define? [modified] Pin
#realJSOP14-Feb-07 9:49
professional#realJSOP14-Feb-07 9:49 
GeneralRe: Application name depending on code #define? Pin
jhwurmbach14-Feb-07 22:03
jhwurmbach14-Feb-07 22:03 
GeneralRe: Application name depending on code #define? Pin
suggam15-Feb-07 3:45
suggam15-Feb-07 3:45 
GeneralRe: Application name depending on code #define? Pin
#realJSOP15-Feb-07 8:51
professional#realJSOP15-Feb-07 8:51 
GeneralRe: Application name depending on code #define? Pin
suggam15-Feb-07 12:01
suggam15-Feb-07 12:01 
QuestionPassing pointers from VB Pin
Renato Carvalho14-Feb-07 7:52
Renato Carvalho14-Feb-07 7:52 
GeneralRe: Passing pointers from VB Pin
Renato Carvalho14-Feb-07 8:16
Renato Carvalho14-Feb-07 8:16 
QuestionVirtual Memory Question Pin
act_x14-Feb-07 5:50
act_x14-Feb-07 5:50 
I have a CMap that does a mapping between <cstring ,="" cmyobj="" *="">


This map is populated by reading a file ( line by line ) and CMyObj is constructed from information in that line .


So the logic is something like


Map<string, cmyobj="" *=""> map ;
while eof
{
line = readline
string key = line.FirstToken
CMyObj *p= new CMyObj(line)
map[key] = p ;


}





Now I am modifying where p is going to be allocated from Virtual memory instead of heap

Unfortunately i will need to be able to reconstruct this object based on address


Hence when i do the lookup the map will only give me the address but the size is not available as



is there a mechanism that I can use to decide the size and transparently recreate the object from virtual memory ?





Engineering is the effort !

AnswerRe: Virtual Memory Question Pin
Maximilien14-Feb-07 6:29
Maximilien14-Feb-07 6:29 
AnswerRe: Virtual Memory Question Pin
toxcct14-Feb-07 6:33
toxcct14-Feb-07 6:33 
AnswerRe: Virtual Memory Question Pin
Stephen Hewitt14-Feb-07 11:37
Stephen Hewitt14-Feb-07 11:37 
Questionvista-vs 2005 compatability Pin
beegu14-Feb-07 5:19
beegu14-Feb-07 5:19 
AnswerRe: vista-vs 2005 compatability Pin
toxcct14-Feb-07 6:02
toxcct14-Feb-07 6:02 
AnswerRe: vista-vs 2005 compatability Pin
Maximilien14-Feb-07 6:50
Maximilien14-Feb-07 6:50 
AnswerRe: vista-vs 2005 compatability Pin
Michael Dunn14-Feb-07 8:55
sitebuilderMichael Dunn14-Feb-07 8:55 
Questiondetect invalid reference Pin
Mr.Brainley14-Feb-07 5:10
Mr.Brainley14-Feb-07 5:10 
AnswerRe: detect invalid reference Pin
toxcct14-Feb-07 5:24
toxcct14-Feb-07 5:24 
GeneralRe: detect invalid reference Pin
Mr.Brainley14-Feb-07 5:35
Mr.Brainley14-Feb-07 5:35 
GeneralRe: detect invalid reference [modified] Pin
toxcct14-Feb-07 5:37
toxcct14-Feb-07 5:37 
GeneralRe: detect invalid reference Pin
Mr.Brainley14-Feb-07 5:54
Mr.Brainley14-Feb-07 5:54 
GeneralRe: detect invalid reference Pin
toxcct14-Feb-07 5:58
toxcct14-Feb-07 5:58 
GeneralRe: detect invalid reference Pin
David Crow14-Feb-07 5:43
David Crow14-Feb-07 5:43 
AnswerRe: detect invalid reference Pin
Michael Dunn14-Feb-07 8:57
sitebuilderMichael Dunn14-Feb-07 8:57 
GeneralRe: detect invalid reference Pin
Stephen Hewitt14-Feb-07 11:50
Stephen Hewitt14-Feb-07 11:50 
AnswerRe: detect invalid reference Pin
John R. Shaw14-Feb-07 11:08
John R. Shaw14-Feb-07 11:08 

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.