Originally posted by slimdave
What's the symptom(s) of the crash?
All I have to do is open a CDataSource object, open a CSession object based on that CDataSource, pull the cable - and then attempt to execute a stored proc. Crashes every time. It's not something I have control over. It looks like invalid memory is being addressed based on the error (I can look up the exact error if you care to know what it is). It's not like the call just fails and I am returned an error. It dies in the bowels of the MS DLL with no ability to recover. I can even execute the stored proc in a try catch block and catch (...) - doesn't matter.
If you are really interested in seeing this, I can code up a little example to show just how easy it is to crash it.
Nothing worthwhile is ever easy.