Disappearing Wait Cursor

From: Charlotte Moller <cmoller_at_dbcorp.ab.ca>
Date: 1996/04/16
Message-ID: <31744134.56E8_at_dbcorp.ab.ca>#1/1


Disappearing wait cursor (hour-glass)


Has anyone ever come across this problem when developing Windows programs which access Oracle databases?

When I have to perform an activity that I know is going to take a little while, I've being setting the wait cursor (hourglass) via the windows call hcursor = SetCursor(LoadCursor(NULL, IDC_WAIT)), and then restoring the cursor after the activity via SetCursor(hcursor). This appears to work fine, except when I am accessing the Orracle database via SQL*Net. Somewhere during the activity the wait cursor disappears! This happens with any time consuming database access. With a click happy user, the results are disastrous, usually ending in a GPF. I'm currently programming in Borland C++ 3.1 / OWL 1.0 using the CommonBase library (by ImageSoft) for database access, but I've seen this problem with other development environments (i.e. ObjectView, calls from a C++ program to R&R ReportWriter). My best guess is SQL*Net does something nasty with the cursor, but a solution has thus far eluded me.

Thanks :),
Charlotte Received on Tue Apr 16 1996 - 00:00:00 CEST

Original text of this message