Solved

SetSystemCursor usage

Posted on 1997-08-03
2
229 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 50 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

If you use Adobe Reader X it is possible you can't open OLE PDF documents in the standard. The reason is the 'save box mode' in adobe reader X. Many people think the protected Mode of adobe reader x is only to stop the write access. But this fe…
In this post we will learn different types of Android Layout and some basics of an Android App.
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.
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…

696 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