I am using a modeless dialog box with activex controls. If I remove the activex controls then it is working correctly otherwise it is giving assertion failure error At the line containing dialogboxname.ShowWindow() function. Tell me what is wrong. arun