   DXUTCreateDevice help...?
  Hello, im messing with DXUT and trying to get a empty window to appear, but my debugger keeps breaking at the following line:DXUTgui.cpp:HRESULT CDXUTDialogResourceManager::OnD3D9CreateDevice( LPDIRECT3DDEVICE9 pd3dDevice ){    HRESULT hr = S_OK;    int i = 0;    m_pd3d9Device = pd3dDevice;BREAK->  for( i = 0; i < m_FontCache.GetSize(); i++ )    {   hr = CreateFont9( i );   if( FAILED( hr ) )  return hr;    }    for( i = 0; i < m_TextureCache.GetSize(); i++ )    {   hr = CreateTexture9( i );   if( FAILED( hr ) )  return hr;    }    hr = D3DXCreateSprite( pd3dDevice, &m_pSprite );    if( FAILED( hr ) )   return DXUT_ERR( L"D3DXCreateSprite", hr );    return S_OK;}ive tried to track it down, but with no results so far. Im new with dx and dxut, so im not all to familiar with how DXUT work under the hood yet.This is my source code:main.cpp: http://www.pastey.net/137300that init member function: http://www.pastey.net/137301OnCreateDevice that gets called by DXUTSetCallbackD3D9DeviceCreated( OrbCodeApp::OnCreateDevice );: http://www.pastey.net/137302this is how far ive tracked it. Once the Dialog Resource Manager is called with g_pApp->m_pDialogResourceManager->OnD3D9CreateDevice( pd3dDevice ) my programm stops at the break above.ill completely add all 3 of my cpp/h's incase you want to brows around when looking for my problem.the main: http://www.pastey.net/137304the App Class cpp: http://www.pastey.net/137305the App Class h: http://www.pastey.net/137306now I know I havent bothered with anything else than the initializing here and startup. But shouldnt this code here at least make a window appear? I dont want to continue coding this if the create window and initializing stuff doesnt work properly.So what could my problem be?edit: I might want to add that im using the dxsdk from feb 2010 and am aiming to use dx9, thies are the current DXUT initialization functions: http://www.pastey.net/137308[Edited by - Tingle on June 5, 2010 9:11:18 AM]
  still havent found a solution   