I need to use a third-party ActiveX control in our program. we have two window services that need to use the ActiveX to decode videos. window services cannnot create ActiveX control properly because it is a windowless application. In detail, when a windows service call Create(..., CWnd, ..) function on Mxpg_ActiveX, the handle of the Windows window (m_hWnd) attached to the CWnd is NULL since Windoes services is a windowless application, so it fail to create ActiveX control, how can I create a window handler? I am relative new to MFC, please help, it is my first post here, thanks a lot.