Posted by: Dave Reimann
Hi NG,
I'm getting a 0xC0000005 exception inside an application that is using
SalTblCreateColumn. The exception is intermittent; sometimes the column
creation is successful and the application continues running just fine,
other times the application crashes with the above exception (you can
find the above exception in the following link:
http://www.iseran.com/Win32/FAQ/except.html).
I pulled out code from the app until I could get it to run without
crashing. It all came down to the SalTblCreateColumn call. With that
line of code, the app will crash; without it, the app runs fine.
Does this sound familiar to anyone? Any ideas that might help me
resolve this issue? It's such a frustrating error. Also, the same thing
occurs whether I use TD 3.1 or 2.0. Of course the error occurs while
the app is waiting for input (so stepping through the code doesn't show
me where the error is occuring).
I tried to create a test case that would fail, but I'm unable to
duplicate the error in the test. I've attached it to this message (TD
2.0) in case you want to have a look at the sort of thing I'm trying to
do. I have a Table class that uses polymorphism to do some validation
on dynamic columns. The test has the same classes I'm using in my
application. The only difference is that in the application I'm using
information from a database to create and populate the dynamic columns.
I'd really appreciate any help that you can give. Thanks in advance!