I keep getting "Error: Window was not found" error message.
All my testcase is doing is using the CaptureBitmap function to capture a graph on the screen. It has been declared correctly and I have no idea why I keep getting this error, if the window does exist.
This sort of message usually indicates that you do not have the correct window name in the function call. Can you put the code up so I can see how you are calling the function and I may be able to offer a bit more help.