Resource (.res) files can hold icons, cursors, strings, bmp images, audio/video files and other data to be included in executable (.exe) files. Here's an outline of the steps I use to add custom cursors to my programs. Procedure for other types of resources are similar.
PEGNODROP CURSOR "pegnonrop.cur"
PEGDROP CURSOR "pegdrop.cur"
" C:\Program Files\Borland\Delphi5\Bin\BRCC32.EXE" PegCursors.RC
When you double click on Genres.bat (or whatever name you choose), file PegCursors.res should be built. (If you're a good typist, you could just type this line into an MSDOS window or the Run box on your start menu - I'm not that good. And it does assume that the ".rc" file is in the current directory. )
The cursor ids within your program can either be predefined cursor ids (c, crHourglass, crDrag, etc. - check TCursor in Delphi help for a complete list) or a new cursor id (any integer greater than 0 and less than 32768).
Const
crRed=1;
crBlue=2;
screen.cursors[crDrag]:=LoadCursor(HInstance, 'PEGDROP');
screen.cursors[crRed]:=loadcursor(HInstance,'RED');
HInstance is a global Delphi variable containing the handle of the application.
That's it. I've used custom cursors in Peg Solitaire and in the Game of HIP, both posted in the Program Section. You can download Peg Solitaire custom cursor stuff here if you're interested. The cursor files for HIP are included in the source download for HIP.