MFC | COM | Server busy dialog
Hi I have mfc com application on which I am getting server busy dialog which has option of Retry , cancel and switch to I just want to disable this dialog at all.. i.e. I don't want to see this pop up at all I read somewhere that below should be done: AfxOleGetMessageFilter()->EnableBusyDialog(0); AfxOleGetMessageFilter()->EnableNotRespondingDialog(0); But I am confused where should I write this piece of code? Currently I am using coinitialize(null). Should I write above required code just after coinitialize? Also coinitialize is fine or I should be using something else like oleinit or oleinitilize or totally different? Many thanks in advance....!