myObject.GetStatus(sessID);
do{ Application.DoEvents();}while(!StatusReceived);
void myObject_OnGetStatusEvent(int lSessionID, eStatusReason eReason, LXUnitStatus pIUnitStatus) { }