Click here to Skip to main content
15,926,144 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Compression : Some new Idea. Pin
David Crow23-Apr-04 2:11
David Crow23-Apr-04 2:11 
GeneralRe: Compression : Some new Idea. Pin
Prakash Nadar22-Apr-04 5:13
Prakash Nadar22-Apr-04 5:13 
GeneralRe: Compression : Some new Idea. Pin
jmkhael22-Apr-04 5:37
jmkhael22-Apr-04 5:37 
GeneralRe: Compression : Some new Idea. Pin
Prakash Nadar22-Apr-04 5:45
Prakash Nadar22-Apr-04 5:45 
GeneralRe: Compression : Some new Idea. Pin
jmkhael22-Apr-04 5:49
jmkhael22-Apr-04 5:49 
GeneralRe: Compression : Some new Idea. Pin
jk chan22-Apr-04 17:11
jk chan22-Apr-04 17:11 
GeneralRe: Compression : Some new Idea. Pin
Prakash Nadar22-Apr-04 18:48
Prakash Nadar22-Apr-04 18:48 
GeneralObject serialization Pin
Peter Krankl22-Apr-04 2:39
sussPeter Krankl22-Apr-04 2:39 
Hi!.

I have an object, a big object, with many arrays of others object, so, I have problems when I serialize this object, because it seems that is not stored on disc completely.
There is a limit of size, of the object, to serialize?. That is, "more than xxx bytes are not possible to be stored in a single object".

'Cause I trace the serialization process, (both, store and load), and first, when the object is being stored, I see the values of the fields going to the CArchive object through the operator << :


if(ar.IsStoring)
ar<<field1<<field2; <---="" this="" line
...


and="" they="" are="" the="" right="" values,="" (numbers).

but="" when="" i="" trace="" same="" method,="" want="" to="" read="" from="" file="" object,="" values="" that="" see="" allways="" 0.


...
else
ar="">>field1>>field2; <-- this line
...


I can load a part of the object well, but other no.
All the data to serialize are of type long.
I don't know if the problem is when I try to save the data, (that it seems to be correct, 'cause there are not errors and I can see the right values going to CArchive), or when I try to read the data, (that also it seems to be correct, but nevertheless is not it 'cause I load allyaws 0).

Thank you.
GeneralRe: Object serialization Pin
hasansheik22-Apr-04 3:16
hasansheik22-Apr-04 3:16 
GeneralRe: Object serialization Pin
Peter Krankl22-Apr-04 3:38
sussPeter Krankl22-Apr-04 3:38 
GeneralRe: Object serialization Pin
Anonymous22-Apr-04 4:28
Anonymous22-Apr-04 4:28 
GeneralRe: Object serialization Pin
Peter Krankl22-Apr-04 4:55
sussPeter Krankl22-Apr-04 4:55 
GeneralRe: Object serializatio Pin
Peter Krankl22-Apr-04 4:56
sussPeter Krankl22-Apr-04 4:56 
GeneralMS-SQL and C++ Pin
andysmurfen22-Apr-04 2:17
andysmurfen22-Apr-04 2:17 
GeneralRe: MS-SQL and C++ Pin
John M. Drescher22-Apr-04 3:02
John M. Drescher22-Apr-04 3:02 
GeneralRe: MS-SQL and C++ Pin
RChin22-Apr-04 3:15
RChin22-Apr-04 3:15 
GeneralDrawState (CDC) problem Pin
YaronNir22-Apr-04 2:13
YaronNir22-Apr-04 2:13 
GeneralRe: DrawState (CDC) problem Pin
YoSilver22-Apr-04 3:13
YoSilver22-Apr-04 3:13 
GeneralRe: DrawState (CDC) problem Pin
YaronNir22-Apr-04 4:50
YaronNir22-Apr-04 4:50 
GeneralRe: DrawState (CDC) problem Pin
YoSilver26-Apr-04 10:02
YoSilver26-Apr-04 10:02 
QuestionHow to make CDateTimeCtrl not editable, without arrows ? Pin
vgrigor22-Apr-04 2:11
vgrigor22-Apr-04 2:11 
AnswerRe: How to make CDateTimeCtrl not editable, without arrows ? Pin
ravjak22-Apr-04 4:32
ravjak22-Apr-04 4:32 
Generalserial comm in w2k Pin
фил22-Apr-04 1:56
фил22-Apr-04 1:56 
GeneralProblem with CStdioFile Pin
Stojan7822-Apr-04 1:36
Stojan7822-Apr-04 1:36 
GeneralRe: Problem with CStdioFile Pin
Steve S22-Apr-04 1:53
Steve S22-Apr-04 1:53 

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.