GetCursorValueIndex throwing EOSError
Posted: Mon Dec 14, 2009 5:44 pm
I'm calling GetCursorValueIndex inside the GetMarkText handler for a series that is updating fairly frequently (about 10 times/second). It appears that whenever the screen saver starts up, the call to GetCursorValueIndex is throwing an EOSError exception. The text of the exception is "A call to an OS function failed" and the ErrorCode is zero.
Of course, I can catch the exception and handle it, but I'm wondering if I'm doing something incorrectly, or if this is just a symptom of a more deeply rooted problem. Is this expected behavior?
I'm using TeeChart Pro v8.06.60902 Win32, CodeGear™ C++Builder® 2007 R2 Version 11.0.2804.9245, and Windows XP SP3. Which screen saver I use doesn't seem to matter.
Of course, I can catch the exception and handle it, but I'm wondering if I'm doing something incorrectly, or if this is just a symptom of a more deeply rooted problem. Is this expected behavior?
I'm using TeeChart Pro v8.06.60902 Win32, CodeGear™ C++Builder® 2007 R2 Version 11.0.2804.9245, and Windows XP SP3. Which screen saver I use doesn't seem to matter.