ObjectARX
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

acedOsnap function memory garbage

2 REPLIES 2
Reply
Message 1 of 3
Anonymous
408 Views, 2 Replies

acedOsnap function memory garbage

when i used the modeless dialog and in the mousemove message to call acedosnap function,
there has memory garbage. the memory increase,if my mouse cursor move to the acad frame,
the memory release.why?? and if the dialog is model mode,it could not found this problem.

void Ctest::OnMouseMove(UINT nFlags, CPoint point)
{
AcGePoint3d OsnapPt(0,0,0);
AcGePoint3d nPt(100,100,0);
int nnn = acedOsnap(asDblArray(nPt),_T("NOD,nea"),asDblArray(OsnapPt));
if (nnn == 5100)
{
//acutPrintf(_T("\ndlg_mousemove%d"),ss); ss++;
}
//acedUpdateDisplay();
CAcUiDialog::OnMouseMove(nFlags, point);
} Edited by: tchg on Sep 27, 2008 7:13 AM
2 REPLIES 2
Message 2 of 3
Anonymous
in reply to: Anonymous

It is the project code resource .rar file here,anybody can help me.

BTW:you can rename the "ArxProject1.jpg" file to "ArxProject1.rar",unzip the file,debug it!
Message 3 of 3
Anonymous
in reply to: Anonymous

Is there anybody help me?

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost