I have a problem, I need to use the SQLORA8 DLL with an Oracle 7.3 database due to various migration problems.
Now the problem is that when I use the SQLORA8.DLL as opposed to the SQLORA32.DLL I find that if I attempt to get the native handle from the BDE and assign it to the LDA of an OracleSession object, I get an access violation the moment any database access occurs. I suspect that the LDA value I'm obtaining from the BDE is incorrect for some reason. It may also be that the handle is being passed from the BDE to an OracleSession object within a DLL.
Now, if I use the SQLORA8.DLL with only BDE based database objects everything is fine, it's only when I use it with any of the DOA components that I run into problems.
Obviously the solution to this would be to convert our whole system over to using the DOA components but that's a very big job and I'd rather find an alternative if I can.
Now the problem is that when I use the SQLORA8.DLL as opposed to the SQLORA32.DLL I find that if I attempt to get the native handle from the BDE and assign it to the LDA of an OracleSession object, I get an access violation the moment any database access occurs. I suspect that the LDA value I'm obtaining from the BDE is incorrect for some reason. It may also be that the handle is being passed from the BDE to an OracleSession object within a DLL.
Now, if I use the SQLORA8.DLL with only BDE based database objects everything is fine, it's only when I use it with any of the DOA components that I run into problems.
Obviously the solution to this would be to convert our whole system over to using the DOA components but that's a very big job and I'd rather find an alternative if I can.