For all issues regarding the Forums use, please, refer to the Forum Rules.

Our Solutions

Need professional assistance?
Consider our:

Support Offerings

 

Need to speed up your development?
Have a look at our:

Samples & Tools

 

Need some functionality extending standard OCCT capabilities?
Check out our:

Adv. Components

Related pages

Problem in serialize method (deserialization)

Jihed's picture
Forums: 

Hi;
I have a problem , please help me:
When i call a Serialize( CArchive& archive ) method of AIS_Pnt class for doing the deserialization of point object:

std::fstream enrg ("enrg.txt");
enrg.open("enrg.txt",std::fstream::in | std::fstream::out | std::fstream::app);
CFile theFile;
theFile.Open("teet.txt", CFile::modeRead);
CArchive ar (&theFile, CArchive::load);
aPoint->Serialize(ar);
enrgPoint().X()

So, I don't found the X coordinate of "aPoint" in enrg file.

Contact us

Attention: DO NOT use this form for all kind of request for the removal of your personal data. Please follow this link for such cases.