If I start my self written app from the explorer it works fine.
If I try to start it in visual studio(F5), it crashes at some point. It is also not dependant on the working directory!
It is quite annoying, because I cannot debug that way. (I could try attaching to the process after launch, but....)
Can anyone point me into a direction that I may have overlooked? What settings can cause such strange circumstances in general?
Thanks a lot in advance!
EDIT: System and stuff involved: WinXPProSp3(32bit), VS2005Sp1, Win SDK6.1, DXSDK09
EDIT: Clarification: The program I wish to debug crashes without a comment. Visual Studio has no problem and just states that the program to debug has terminated.
The Debug settings are all in order. I can debug and step through the beginning up to a certain point, where the debug info leaves me (some lib related to DirectShow) and the program peacefully dies.
I have only the Debug build configuration set up.
I hit F5 -> dead I start the same exe from outside the ide -> works like a charm.
I still am nowhere near of figuring this out... <:|
EDIT: Answer: A decoder library that doesn't work in debug mode managed to slip into my DirectShow filter chain. That caused all this strange behaviour. I simply uninstalled it. (somehow lowering the "merit" on the thing didn't work). Thanks for the help.