mfc - Error IM004 when using ODBC to access SQL Server -
i'm developing mfc project , using odbc connect sql server 2008 server. each time when i'm read or write database, construct cxxx
(as class derived crecordset
, have bound useful fields rdx) object, open it, operate database, , close it.
however, after 1000 such operations, odbc driver reports error, has sqlstate:im004
in it, , refuse work on.
error string, learned due environment handle allocation error. don't know is, or why is.
please explain me , give me advice how pinpoint problem. thank you.
Comments
Post a Comment