Now this is strange.
I was trying to get my first effect file to work under direct3d and it was very painfull.After hours of working i made it work.
In the mean time i enabled the break on memory leaks option in the direct 3d control panel.
Now i get an error when i close my application first it was from a critical section code now it is at a destructor :
this is the call stack
[Frames below may be incorrect and/or missing, no symbols loaded for ntdll.dll]
> Dark Age World Editor-d.exe!DAEditorApp::~DAEditorApp() Line 9 + 0xf bytes C++
Dark Age World Editor-d.exe!DAEditorApp::`scalar deleting destructor'() + 0x52 bytes C++
msvcr80d.dll!__crtExitProcess(int status=-1) Line 684 C
msvcr80d.dll!doexit(int code=-1, int quick=0, int retcaller=0) Line 596 + 0x9 bytes C
msvcr80d.dll!exit(int code=-1) Line 398 + 0xd bytes C
Dark Age World Editor-d.exe!__tmainCRTStartup() Line 610 C
Dark Age World Editor-d.exe!WinMainCRTStartup() Line 414 C
I have no idea whats wrong as it was working smoothly when the checkbox was cleared.
Maybe that scalar deleting destructor is the problem but i dont know :(