Re: ODBC-api hooking problem
Nick Gorham <[email protected]> Wed, 10 Apr 2013 19:24:49 +0100
| Newsgroups | gmane.comp.db.unixodbc.devel |
|---|---|
| Message-ID | <[email protected]> |
On 10/04/13 16:51, jon pounder wrote: > On 04/10/2013 11:45 AM, Динар Рахимбаев wrote: > > I don't know for sure but I am guessing having 2 instances of the dm > loaded in the same process is causing trouble since there is only one > odbc environment per process. > > > you should be able to simply call the dbms driver from within your own > driver though, every function do your special stuff then call the same > func in the driver - thats basically what the dm does now. > Yep, in theory it should work, but I can imagine there may be some reentrancy issues going on. It would probbaly be safer to make your driver call the targer driver directly. -- Nick _______________________________________________ unixODBC-dev mailing list [email protected] http://mailman.unixodbc.org/mailman/listinfo/unixodbc-dev