title: L"To fix call CDXUTDialog::Init() first. See comments for details."
body: <p>After  calling  callback function DXUTCreateDevice()  error  is being returned  from  DXUTgui.cpp  assert  checking.  Assert  says  first  call  CDXUTDialog::Init()  but  where  should i  put  it in  WinMain() ?   <a href="https://i.stack.imgur.com/Nn8su.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Nn8su.png" alt="enter image description here"></a></p>