View Single Post
Posts: 726 | Thanked: 345 times | Joined on Apr 2010 @ Sweden
#5
If you get a crash, your program is broken.

If I were to guess, and I am, the environment that you rely on to be in some special way is not when your application is started with the desktop semantics.

Dig into the connection code a bit more and handle all return values from whatever resource you're calling and I'm sure you'll figure it out.