Page 1 of 1

JBridge with Can't get window rect

Posted: Sat Aug 28, 2010 10:59 am
by newbie_toy
I am using Genetic Programming to evolve my bot. This requires me to use Junit to run the game repeatedly. But I got this error sometimes, "Can't get window rect from JBridge. I know this error, because HWND is not set properly. but anybody knows how to solve this error? I tried putting while loop around that and set the new value for HWND again, but didn't work. Please Thanks so much.