[Qt-interest] Problem with ODBC Plugin

Tony Rietwyk tony.rietwyk at rightsoft.com.au
Wed Jun 8 13:48:50 CEST 2011


 

Sent: Wednesday, 8 June 2011 20:30 PM

Hi
 
i use the ODBC plugin for a dynamic library which talks to a database. On a
minimalistic main() programm everything works but when i integrate the dll
to my bigger application i have the problem that the .exe of my application
runs until program exit (so my programm does not close correct). I debugged
the main() function and the function is returned without error code. After
executing main() i came to an endless loop of ODBC Qsql_odbc.cpp: line 1930:
r = SQLDisconnect(d->hDbc); So i cannot post the whole code from my bigger
application and everything works on my minimalistic example. 
 
Does anyone has a clue where i could find the error?
 
best regards, 

 
Hi, 
 
Are you sure that all of your QSqlDatabase objects have been destroyed
before the main routine exits in your full app?  
 
Hope that helps, 
 
Tony.
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20110608/ccba412a/attachment.html 


More information about the Qt-interest-old mailing list