Thanks it worked.
it is in the following code in AppDelegate.cpp:
bool bRet = false;
#if (CC_TARGET_PLATFORM == CC_PLATFORM_WIN32)
// Initialize OpenGLView instance, that release by CCDirector when application terminate.
// The HelloWorld is designed as HVGA.
CCEGLView * pMainWnd = new CCEGLView();
|| ! pMainWnd->Create(TEXT ("cocos2d : Helloworld"), 640, 960));