All,<?:namespace prefix = o ns = "urn:schemas-microsoft-com
ffice
ffice" />
I am observing some peculiar behavior when it comes to managing models in memory with Pro/TOOLKIT. Here are my operations:
At this point I have 3 different handles to objects in memory.
What is still using the instance and why can
I am observing some peculiar behavior when it comes to managing models in memory with Pro/TOOLKIT. Here are my operations:
<LI =Msonormal style="MARGIN: 0in 0in 0pt; mso-list: l0 level1 lfo1; tab-stops: list .5in">Get handle to current generic model (ProCurrentGet) -> ProMdl pro_mdlGeneric</LI>
<LI =Msonormal style="MARGIN: 0in 0in 0pt; mso-list: l0 level1 lfo1; tab-stops: list .5in">Retrieve Instance (ProFaminstanceRetrieve) -> ProMdl pro_mdlInstance</LI>
<LI =Msonormal style="MARGIN: 0in 0in 0pt; mso-list: l0 level1 lfo1; tab-stops: list .5in">Retrieve a simp rep from instance name (ProPartSimprepRetrieve) -> ProPart pro_partSimpRep</LI>
At this point I have 3 different handles to objects in memory.
<LI =Msonormal style="MARGIN: 0in 0in 0pt; mso-list: l0 level1 lfo1; tab-stops: list .5in">Erase the simp rep from memory (ProMdlErase on pro_partSimpRep) -> PRO_TK_NO_ERROR</LI>
<LI =Msonormal style="MARGIN: 0in 0in 0pt; mso-list: l0 level1 lfo1; tab-stops: list .5in">Erase the instance from memory (ProMdlErase on pro_mdlInstance) -> PRO_TK_E_IN_USE</LI>
What is still using the instance and why can