End Google Ads 201810 - BS.net 01 --> I have a application which is need windows media player control to play video file.

For that I inserted a Windows Media Player control through Insert ActiveX control in my application. And I Create a variable m_WMPlayer for that media player by Add variable option. Now the system adds a Class called CWMPlayer and adds line of code in DoDataExchange() as

DDX_Control(pDX, IDC_GUI_GAM_TRAILER, m_WMPlayer); // Query1

And I use this m_WMPlayer variable for set URL and uiMode.

m_WMPlayer.put_URL(strTrailerPath);
m_WMPlayer.put_uiMode(_T("mini"));

Here my query is, When I execute the code, The above line (Query1) doesn't create window handle for m_WMPlayer object. CWnd handle still null.

~Sakthi