I have an object that started another CWinThread object as a child thread to perform ACCESS and ORACLE synchronization using ODBC. Oracle is connected via phone line. Everything works OK until, the thread ended and when any variable in parent thread was accessed -- I got access violation. No variable was being shared, except one. I got lazy, and created a shared BOOL variable to notify parent that the child has endedits thread. I did use ENTER and LEAVECRITICALSECTION accessing this variable. Microsoft documentation did specify that not all ODBC is thread-safe. However, I don't have multiple ODBC threads. Any help you can provided will be greatly appreciated. Anything I can do in return, please, just ask. Regards, Joey. Received on Mon Aug 12 1996 - 00:00:00 CEST
Any help you can provided will be greatly appreciated. Anything I can do in return, please, just ask.
Regards,
Original text of this message