I have a DLL. There is a dialog in this DLL which I call from the application. The dialog has a MSComm OLE control. Everything works fine if the dialog resources is in app. If it is in the DLL, CoCreateInstance of the control fails which makes the dialog creation failing. Can OLE control be invoked in a dialog in DLL?