If I put the function that called something within a while loop, that uses the timer function, is it automatically going to time out right at the interval I set? (or is it going to wait until it hits the WEND argument?).
My problem is that a windows API I'm calling (which does not accept a timeout argument), will occasionally take forever to call. However, if it hasn't gotten a responce after 10 seconds, it never gets the responce (though it will sometimes hang up to 60 seconds before continueing). I'd like to make it so if it hasn't gotten a responce after 10 seconds, to automatically quit out of the function (and return a null value). This does me no good if the function is going to wait for the API to timeout first, before my timeout is even looked at.