0xC0000005: Access violation reading location 0x01d99000.
When I turn on heap validation with gflags (http://www.microsoft.com/whdc/devtools/debugging/default.mspx) in my test project, the function SQLExecDirect seems to be either reading from or writing to uninitialized memory.
I tested out the code found at http://www.oracle.com/technology/docs/tech/windows/odbc/htdocs/817help/sqoraEnabling_Result_Sets_Programming.htm and it has the same problem. It seems that some sort of heap corruption is going on which I believe is causing issues elsewhere in my application.
Has anyone else experienced problems like this?