Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Custom Corsur - link .RES file??

Status
Not open for further replies.

260481

Technical User
Sep 4, 2003
2
0
0
CH
Hi there,

I am a greenhorn in borland c++ and just getting started.
I have to complete a project for my school and need HELP here.

I want to include an animated Cursor to my Program.
What I tried so far is creating a RC-file (hammer.rc):

HAMMER ANICURSOR Hammer.ani

I then created the res-file:
brcc32.exe hammer.rc

which completed with no errors and generated the hammer.RES file.

Now I am trying to link it to my Program by typing the following in my Code:

{$R hammer.RES}

But this fails. It tells me that I did not finish the declaration correctly and markes that line ({$R hammer.RES}). What am I doing wrong??? Can someone help me?
:(

THANKS!!
 
try
#pragma resource "hammer.res"

Chi Happens
"When you know and respect your own inner nature, you know where you belong. You also know where you don't belong" - Benjamin Hoff
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top