First of all debugging the services is really hard work.
Second: use code outlining it will be much more readable for us mortals.
Third: Install on Vista Visual Studio 2008 redistributable, to get...
I'm using Process Explorer to check detailed information on running programs, memory leaks, handle leaks. It can be downloaded from https://technet.microsoft.com/en-us/sysinternals/bb896653.aspx. Its...
Probably it is possible, but on the other hand it may not be possible. Try to check the messages with Spy++ what messages browser is getting when you open the new tab. Off course you need to check...
I have learned this hard way. Calling any MFC stuff that involves any GUI will surely fail sooner or later. I have spent weeks debugging and didn't understand why my application is throwing asserts....
No, you're right Looser_007, also indenting your code is good thing, and it will show you where you have another error. Every open code block, procedure that's open with { need to have closed block,...
Look, If you have made the dialog and select it that dialog have a focus, then press some key on the keyboard, message will be dispatched to your dialog.
You need to have OnKeyDown event handled:
...
Handling two d3d devices is a much more work to handle than swap chains. Example:
So you have one windowed application, and you think you don' t need to handle lost device, when user switch from...
If you want to use two different windows with both having the DirectX rendering loop, you will need to use the Swap Chains. Google for it, you will find lot of examples...
The problem is not in code you had posted. Problem is somewhere else in the program. Without some other code we can't help. Just tip what MAY be the problem.