sherlockmeister
07-30-2007, 04:42 PM
how come whenever i use FindBitmap function in a loop i get a access violation?
example
while (FindBitmapToleranceIn(X, Y, WhatEver, 0, 0, 100, 100)) do
Sleep(100);
or
repeat
Sleep(100);
until (FindBitmapToleranceIn(X, Y, WhatEver, 0, 0, 100, 100));
edit: scar tags....
example
while (FindBitmapToleranceIn(X, Y, WhatEver, 0, 0, 100, 100)) do
Sleep(100);
or
repeat
Sleep(100);
until (FindBitmapToleranceIn(X, Y, WhatEver, 0, 0, 100, 100));
edit: scar tags....