Why does the nx program crash when i try calling the ask loops function from my c++ user function(NXOPEN) program?

same as above