Click here to Skip to main content
16,010,114 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Connecting to a remote ATL server Pin
Tim Smith23-Mar-02 4:01
Tim Smith23-Mar-02 4:01 
GeneralTrue/High color toolbars Pin
alex.barylski22-Mar-02 19:14
alex.barylski22-Mar-02 19:14 
GeneralRe: True/High color toolbars Pin
Nish Nishant22-Mar-02 20:10
sitebuilderNish Nishant22-Mar-02 20:10 
GeneralRe: True/High color toolbars Pin
alex.barylski22-Mar-02 20:43
alex.barylski22-Mar-02 20:43 
GeneralRe: True/High color toolbars Pin
Nish Nishant22-Mar-02 20:55
sitebuilderNish Nishant22-Mar-02 20:55 
GeneralCButton Color :: MFC Pin
valikac22-Mar-02 17:42
valikac22-Mar-02 17:42 
GeneralRe: CButton Color :: MFC Pin
alex.barylski22-Mar-02 19:09
alex.barylski22-Mar-02 19:09 
Generaldisk space of an object Pin
Marcus Spitzmiller22-Mar-02 16:40
Marcus Spitzmiller22-Mar-02 16:40 
Anyone have any idea how to find how much space my CObject derived class is taking or will take up once its serialized?

I've serialized an object then manually written raw data at the end of the file. This works fine, but when I read it back, i figured I could serialize the object and pick up where the file pointer left off, but nope.

I forgot that CArchive allocates a buffer and reads in chunks so, i can't assume that the file pointer is immediately after the object i just serialized.Cry | :((

So, i need to find out what the actual disk space of my object is - any ideas?

Marcus Spitzmiller

"Ha ha, Stupid bloropope.." - Homer
GeneralRe: disk space of an object Pin
Nish Nishant22-Mar-02 20:34
sitebuilderNish Nishant22-Mar-02 20:34 
GeneralRe: disk space of an object Pin
Marcus Spitzmiller23-Mar-02 4:17
Marcus Spitzmiller23-Mar-02 4:17 
GeneralRe: disk space of an object Pin
David Defoort22-Mar-02 23:23
David Defoort22-Mar-02 23:23 
GeneralRe: disk space of an object Pin
Marcus Spitzmiller23-Mar-02 4:04
Marcus Spitzmiller23-Mar-02 4:04 
GeneralStack problems Pin
Steve Severance22-Mar-02 15:30
Steve Severance22-Mar-02 15:30 
GeneralRe: Stack problems Pin
lilei22-Mar-02 16:03
lilei22-Mar-02 16:03 
GeneralRe: Stack problems Pin
Tim Smith22-Mar-02 17:07
Tim Smith22-Mar-02 17:07 
GeneralRe: Stack problems Pin
Nish Nishant22-Mar-02 20:30
sitebuilderNish Nishant22-Mar-02 20:30 
GeneralRe: Stack problems Pin
Tim Smith23-Mar-02 4:13
Tim Smith23-Mar-02 4:13 
GeneralC2440 Pin
22-Mar-02 14:17
suss22-Mar-02 14:17 
GeneralRe: C2440 Pin
Nish Nishant22-Mar-02 14:23
sitebuilderNish Nishant22-Mar-02 14:23 
GeneralRe: C2440 Pin
22-Mar-02 14:34
suss22-Mar-02 14:34 
GeneralRe: C2440 Pin
Nish Nishant22-Mar-02 14:43
sitebuilderNish Nishant22-Mar-02 14:43 
Generalseveral Threads.....trying to access same array item Pin
22-Mar-02 14:01
suss22-Mar-02 14:01 
GeneralRe: several Threads.....trying to access same array item Pin
Nish Nishant22-Mar-02 14:13
sitebuilderNish Nishant22-Mar-02 14:13 
GeneralRe: several Threads.....trying to access same array item Pin
soptest22-Mar-02 14:11
soptest22-Mar-02 14:11 
GeneralRe: several Threads.....trying to access same array item Pin
Nish Nishant22-Mar-02 14:15
sitebuilderNish Nishant22-Mar-02 14:15 

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.