Successfully built project doesn't show app window [modified]
-
Hello: I am building a project like this on VS2003: - C# test app (Windows form) - Managed C++ main DLL (exports several user controls) - Legacy C++ DLLs Some days ago I started to experience a problem when trying to debug it. I started the application for debugging, VS entered debug mode, but I couldn't see my form Window. If I open the task manager, my process is there but with a 0% cpu time. Now it happens more and more frequently. Sometimes I just add a blank space to a file, compile again and my app can be debugged regularly. Of course I have tried to rebuild my app, delete Debug/Release folders of my projects and open/close VS ... Any idea about what can be happening? Answers will be really welcomed. -- modified at 7:12 Thursday 4th January, 2007
-
Hello: I am building a project like this on VS2003: - C# test app (Windows form) - Managed C++ main DLL (exports several user controls) - Legacy C++ DLLs Some days ago I started to experience a problem when trying to debug it. I started the application for debugging, VS entered debug mode, but I couldn't see my form Window. If I open the task manager, my process is there but with a 0% cpu time. Now it happens more and more frequently. Sometimes I just add a blank space to a file, compile again and my app can be debugged regularly. Of course I have tried to rebuild my app, delete Debug/Release folders of my projects and open/close VS ... Any idea about what can be happening? Answers will be really welcomed. -- modified at 7:12 Thursday 4th January, 2007
Have you tried enabling the Unmanaged Code Debugging under Debug for the C# application. You may have an intermittent problem that will show up if you are debugging both managed and unmanaged code.
Ant. I'm hard, yet soft.
I'm coloured, yet clear.
I'm fruity and sweet.
I'm jelly, what am I? Muse on it further, I shall return! - David Walliams (Little Britain) -
Have you tried enabling the Unmanaged Code Debugging under Debug for the C# application. You may have an intermittent problem that will show up if you are debugging both managed and unmanaged code.
Ant. I'm hard, yet soft.
I'm coloured, yet clear.
I'm fruity and sweet.
I'm jelly, what am I? Muse on it further, I shall return! - David Walliams (Little Britain)Yes, I had activated unmanaged code debugging, so it must be due to a something different. The problem apperars and disappears without changing any of the project settings.