Conclusion
The basic implementation of the animated cursor library is flawed. For starters, the basic implementation assumes that the .ani file stores its cursor images exclusively using Microsoft’s Cursor Resource Format. However, cursor images also can be stored using Microsoft’s Icon Resource Format—or even as raw bitmaps.
Another problem is the hardcoded 75-millisecond sleep value, which is not appropriate for all animations. For example, an animation that should move faster requires a smaller sleep value. These and other problems are addressed in part 2 of this series, which introduces a second (and much improved) implementation of my Java-based animated cursor library.