You maybe need fetch result into variable, close handle, then return variable (as result or 0, false, etc. etc.)
Quote:
Originally Posted by Lawyn
Code:
...
Handle asd = SQL_Query(DB, qwe);
if (asd != INVALID_HANDLE && SQL_FetchRow(asd)) { return SQL_FetchInt(asd, 0); CloseHandle(asd);}
CloseHandle(asd);
...
|