Bruno Matrtin
July 7th, 1998, 12:33 PM
I'm trying to open an ODBC database from a thread and i have alway the same message telling me that i have a Access Violation...
UINT RequeteInsertion(LPVOID pParam)
{
CDBDatabase db;
db.Open("MY BASE");
db.ExecuteSQL("INSERT INTO DonneesSimuleHydroT SELECT * FROM DonneesSimuleHydroT1;");
db.Close();
return 0;
}
This code looks fine to me, but the fu... doesn't take it... Where the Access violation here, i have no const value .... HELP PLEASE... Bruno ...
UINT RequeteInsertion(LPVOID pParam)
{
CDBDatabase db;
db.Open("MY BASE");
db.ExecuteSQL("INSERT INTO DonneesSimuleHydroT SELECT * FROM DonneesSimuleHydroT1;");
db.Close();
return 0;
}
This code looks fine to me, but the fu... doesn't take it... Where the Access violation here, i have no const value .... HELP PLEASE... Bruno ...