How to use CWnd::CreateEx

Posted by chitra on Stack Overflow See other posts from Stack Overflow or by chitra
Published on 2009-08-17T09:12:35Z Indexed on 2010/03/23 0:41 UTC
Read the original article Hit count: 508

Filed under:
|

I was using

CreateEx(

0, className, "XXX", WS_CHILD | WS_VISIBLE | WS_CLIPSIBLINGS | WS_CLIPCHILDREN, rect, parent, 0); in Visual C++ 6.0.

when i port the same to VS 2008.., its giving an error message saying that..

error C2664: 'BOOL CWnd::CreateEx(DWORD,LPCTSTR,LPCTSTR,DWORD,const RECT &,CWnd *,UINT,LPVOID)' : cannot convert parameter 3 from 'const char [7]' to 'LPCTSTR'

how to rectify the same thanks Chitra

© Stack Overflow or respective owner

Related posts about visual-studio-2008

Related posts about mfc