VS 2012
Posted: 20 Dec 2012, 05:30
I know this isn't officially supported yet, but I just wanted to report my experience so far with attempting to work with VS 2012. I am having trouble getting it work. I tried this as basic as possible. I took the D3D9 Create device tutorial, and then in main, after the device was initialized, tried to initialize the NS GUI. The program built just fine, but generates a fatal error on execution.
Some experimentation shows that it's always on InitSystems that the application breaks, but I don't have much further information than that right now. I got the following exception:
Unhandled exception at at 0x74C0C41F in framework_D.exe: Microsoft C++ exception: Noesis::Core::Exception at memory location 0x0036DE44.
Any thoughts or workarounds would be appreciated, but I am a bit stuck now
.
Code: Select all
(main function)
... // code verbatim from DX tutorial, with necessary NS headers included.
// Initialize Direct3D
if( SUCCEEDED( InitD3D( hWnd ) ) )
{
// Show the window
NsGetKernel()->Init();
Render::SetDX9Device(g_pd3dDevice);
NsGetKernel()->InitSystems();
...
}
...
Unhandled exception at at 0x74C0C41F in framework_D.exe: Microsoft C++ exception: Noesis::Core::Exception at memory location 0x0036DE44.
Any thoughts or workarounds would be appreciated, but I am a bit stuck now