|
Hi,
I have a requirement to save the serialized data in memory. I tried using CMemFile instead of CFile for saving the serialized data in memory. But serialization becomes too slow since the data size is huge. Is there any other way I can save my serialization data in memory instead of a file?
Please let me know if you know any solution.
Thanks.
|
|
|
|
|
maybe something like this:
CSharedFile sf(GMEM_MOVEABLE|GMEM_DDESHARE|GMEM_ZEROINIT);
CArchive ar(&sf, CArchive::store);
obj->Serialize(ar);
ar.Close();
?
Cleek | Image Toolkits | Thumbnail maker
|
|
|
|
|
Hi Chris,
Thanks for your reply. I tried this also. But the problem is I'm using 50 MB data to store in memory. So these classes dont help since it stores data in RAM and it affects the performance. So the serialization is slow. It takes 20 minutes to serialize the 50 MB data. So I need to store the serialized data in hard disk(not in RAM) but not as a file. Is there a way? Please help me if you know.
Thanks for your help.
|
|
|
|
|
senthaaa wrote: since the data size is huge
How huge?
Maxwell Chen
|
|
|
|
|
I need to store 50 MB data.
|
|
|
|
|
Hi everyone,
I'd like to know how can I make a dll in VC++,I need to know all of the way that is exist for making dll in VC++,if there is a link that can help me please tell me.
Best Regards.
Orchid
|
|
|
|
|
maybe it is some helpful to you
here [^] and here[^]
|
|
|
|
|
Dear WhiteSky
Thanks alot for you guid.
Best Regards.
Orchid
|
|
|
|
|
|
Dear toxcct
Thanks alot for your help.
Best Regards.
Orchid
|
|
|
|
|
There is a lot of stuff for creating dll's and articles related to them here on code project. Just search for the right one that suits your needs
_AnShUmAn_
|
|
|
|
|
Dear AnShUmAn
Thanks alot for your help.
Best Regards.
Orchid
|
|
|
|
|
Dear AnShUmAn, toxcct , ..
Thanks alot for your help.
Best Regards.
Orchid
Dear Orchid85
Do you use a Mail-Merge script?
Best Regards,
VuNic.
<marquee scrollamount="1" scrolldelay="1" direction="up" height="10" step="1">--[V]--
[My Current Status]
|
|
|
|
|
|
Hi all...
Im developing a proj in VC++... In which i ve to implement excel like autofilter in the grid...
could any one help me to resolve it...
thanks in advance
-- modified at 9:01 Wednesday 10th May, 2006
|
|
|
|
|
Hi,
Please Explain me how to create an ActiveX control with basic form controls like Buttons,TextBox as well i would like to know how to read the values from controls from the wrapper program.
Thanks
|
|
|
|
|
|
Thanks but i need to read and set ActiveX control values from dialouge based application. Please explain me the same.
|
|
|
|
|
|
hello guys
is there a way in c++ to analyze a class structure??
i.e: getting the private and public data and functions in the class without having the source code of the class; only the binary !! maybe using the RTTI
|
|
|
|
|
Amr Shahin wrote: getting the private and public data and functions in the class without having the source code of the class; only the binary !!
Binary data for a class ?? What do you mean ? It is saved in a file and you want to 'reverse-engineer' the file ? Then I think this will be a little bit difficult because it depends a lot of the guy who wrote the class.
|
|
|
|
|
well ya; i meant that only the object code of the class is available; just like the CString class for example.
i dont want to reverse engineer the class, i just want to get its structure, i can get the public interface through the documentation of course, but i wanna know if there is a way to know what are the private stuff in the class, not the implementation, only the type of variables, and segnature in case of functions
|
|
|
|
|
But... Fot the CString class you can see the members of the class if you want to. If you have the header file (which is needed to be able to use the class), then you have all the members of the class. Just right click on the class name and select go to definition.
|
|
|
|
|
man!
i said CString as an example of a class that u dont have its source code; and the RC->go to defenition gives only the public stuff!
|
|
|
|
|