?
Solved

Component question again

Posted on 2003-03-14
5
Medium Priority
?
227 Views
Last Modified: 2010-04-04
Every time i try to create a .res or .dcr and load it, as i was told, i get an error "Unsupported 16 bit resource". I tried all
2, 16, 256 etc colors but none worked. Please be more specific about the creating methods of the .dcr,.res files
0
Comment
Question by:rayek007
[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
5 Comments
 
LVL 2

Expert Comment

by:PeterLarsen
ID: 8136763
"Unsupported 16 bit resource" has nothing to do with colors.
What is it you want to do ?
0
 

Accepted Solution

by:
AVAHLDICK earned 500 total points
ID: 8137545
For creating DCR use Image Editor. I think a lot of colors doesnt work in Delphi. I think it isnt necessary.

For creating res with more colors you must use the command line brcc32. Make a text file with .rc extension, where you put the res instructions. An example :

MYICON BITMAP MYICON.BMP

Supposed this file named myicon.rc then we use

brcc32 myicon.rc

Its creates myicon.res.

Adilson
0
 

Expert Comment

by:CleanupPing
ID: 9316778
rayek007:
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
EXPERTS:
Post your closing recommendations!  No comment means you don't care.
0

Featured Post

Industry Leaders: 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

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
Suggested Courses
Course of the Month11 days, 15 hours left to enroll

752 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