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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

I need help linking a Bitmap to a cpp file.

Status
Not open for further replies.

Robb00

Programmer
May 9, 2000
1
US
I am working on a project in C++, and I need advice on how tyo link a bitmap to a cpp file.&nbsp;&nbsp;I am just starting out as a C++ programmer so please help me!<br>
 
&nbsp;&nbsp;&nbsp;&nbsp;One way is to create a resource script (*.rc) that is then compiled into a resource file (*.res). The latter is a binary file that is linked to an EXE or DLL file. It tells the program how to use such things as menus, dialog boxes, bitmaps, cursors, icons, and even program version info. You might have to look up in your help files for more information.<br><br>&nbsp;&nbsp;&nbsp;&nbsp;Once you have created your resource script, you can compile it using BRCC32 which creates a *.res file. Then you can link this file to an EXE via RLINK32 (see also TLINK32 and BRC32).<br> <p>James P. Cottingham<br><a href=mailto: > </a><br><a href= Veneer Co., Inc.</a><br>All opinions are mine alone and do not necessarily reflect those of my employer.
 
If you use the C++ Builder you can import the Bitmap directly either by the IDE or dynamically during runtime <p>hnd<br><a href=mailto:hasso55@yahoo.com>hasso55@yahoo.com</a><br><a href= > </a><br>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top