I have a pretty strange problem with one of our applications. The application is a .Net+WinForms application, it uses SlimDX to access DX9 and DX11 interface to do some 3D rendering. Recently, for unknown reason, the application always stops for about 4 seconds when it tries to create the second Device object ( for DX9 or DX11 interface). The applications doesn't stop at the first time or any time after the second device object. The problem happens regardless whether the application creates DX9 device or DX11 device; I have checked with a GPU monitor, the GPU and the CPU are not having high load during this 4 seconds. Also, I have not changed our SlimDX or DirectX library, but the OS (Windows 7) could have been changed by regular Windows OS update.
Has anybody had experience with this kind of problem? I would appreciate very much any advice to track down this problem.
thanks in advance.