You should read my post again, I said something like that before.
Just change the dll function or do it like this:
Code:
int iResults = -1;
iResults = sql_get_rows();
while(iResults == -1) wait(1);
if(iResults)
{
     ...
}



true == 1
false == 0

-1 should stay as long as the function didnt return ANYTHING.

Last edited by Ch40zzC0d3r; 10/23/13 11:56.