MFC project used to access mysql database crashed
柚 加
1
Reputation point
I use multiple threads to access the MySQL database through ado. The work of each thread is: just connect to the database and then disconnect, and then end. But every time after running for a long time, the program crashes, and the crashing interface is as follow.
figure 1
the function showing in the figure 2 is used in the thread:
figure 2