   Code doesn't work
  Hey everyone, I'm trying to create some code that creates my basic window by calling an object of that class and it compiles fine but doesn't work, any ideas?Here's the code(Don't worry about initializing Dx or Rendering the scene, I just added that thinking it'd make my window appear)   
  Ah I see the problem .. you're creating the format of the window and registering it but you're not actually creating the window and showing it.You need to add something like the following after registering your WNDCLASS structure.bool CApp::CreateWin(void){m_hWnd = CreateWindowEx(WS_EX_OVERLAPPEDWINDOW, //the extended style  m_szClass,  //the class namem_szTitle,   //the window's title   WS_OVERLAPPEDWINDOW,//the window's styleCW_USEDEFAULT,  CW_USEDEFAULT,//the position   m_iWidth,//the widthm_iHeight,//the heightNULL,//no parent windowNULL,//no menu neededm_hInstance,   //the window's instanceNULL );//nothing to pass to WM_CREATEif (!m_hWnd){Shutdown( );return false;}return true;}bool CApp::ActivateWindow(void){ShowWindow( m_hWnd, SW_SHOW );//Show the windowSetForegroundWindow( m_hWnd );//Give the window a high prioritySetFocus( m_hWnd );//Sets the keyboard's focus to the windowreturn true;}Not dabbled with unmanaged c++ in a while but I used this code in a base class and then created sub classes from it for regular different types of windows like for OpenGL or DirectX usage.I'm sure once you implement these routines into your program it will run.   