have you actually tried to debug your app - seems error message is showing because exception is raized at D3DXCreateBox(...) and error message is generated by destructor of CD3DApplication class... :shock: