[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

SetSystemCursor usage

Posted on 1997-08-03
2
Medium Priority
?
233 Views
Last Modified: 2013-11-20
I am using the SetSystemCursor() API function to change my system cursors in Win95 on the fly.  The function succeeds for the range of all system curors (program loop) and the cursors seem to change okay.  After a couple of mouse clicks, my system locks up (aside from mouse movement).  Is there anything which needs to be done with this call to prevent a system from locking up?
0
Comment
Question by:dmetzler
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 4

Accepted Solution

by:
mbhakta earned 100 total points
ID: 1303020
Make sure that you donot have any resource leaks when deallocating a cursor from memory. If your system finds resource leaks like cursor (which are system critical) and there is no more memory to allocate, wierd results often are the symptoms. If u have a package like Boundchecker handy use it. It gives you a list of resources you program has leaked as well as the memory your program has lost.
0
 

Author Comment

by:dmetzler
ID: 1303021
I am merely using a LoadCursor()/SetSystemCursor() set of calls, so I don't know how anything could be leaking.  I will run w/ BoundsChecker.  Thanks.
0

Featured Post

Survive A High-Traffic Event with Percona

Your application or website rely on your database to deliver information about products and services to your customers. You can’t afford to have your database lose performance, lose availability or become unresponsive – even for just a few minutes.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction: Ownerdraw of the grid button.  A singleton class implentation and usage. Continuing from the fifth article about sudoku.   Open the project in visual studio. Go to the class view – CGridButton should be visible as a class.  R…
Introduction: Dialogs (2) modeless dialog and a worker thread.  Handling data shared between threads.  Recursive functions. Continuing from the tenth article about sudoku.   Last article we worked with a modal dialog to help maintain informat…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Suggested Courses

649 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question