Solved

SetSystemCursor usage

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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
repeatSeparator  java  challenge 13 58
Expand LInux Boot partition remotly 3 102
unable to delete all specified values regedit 38 723
fizzArray2 challenge 1 102
Introduction: Load and Save to file, Document-View interaction inside the SDI. Continuing from the second article about sudoku.   Open the project in visual studio. From the class view select CSudokuDoc and double click to open the header …
Introduction: Hints for the grid button.  Nested classes, templated collections.  Squash that darned bug! Continuing from the sixth article about sudoku.   Open the project in visual studio. First we will finish with the SUD_SETVALUE messa…
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.
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

749 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