Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » DBISAM Technical Support » Support Forums » DBISAM General » View Thread |
Messages 1 to 5 of 5 total |
.rc and .res |
Wed, Mar 28 2007 3:49 PM | Permanent Link |
Roy Lambert NLH Associates Team Elevate | I need to create a resource file containing 3 glyphs (bitmaps) but
"You need to create a resource file with images in resource type RT_RCDATA" I've had a bit of help from the component vendor but I'm still stuck. Anyone have a link where I can read up on these things So far (after taking an hour to discover you need a blank line at the end of the file) I have RESOURCENAME QADD "C:\3rdParty\nlhQry\qAdd.bmp" RESOURCENAME QDELETE "C:\3rdParty\nlhQry\qDelete.bmp" RESOURCENAME QMENU "C:\3rdParty\nlhQry\qMenu.bmp" but I don't think this is right yet. Roy Lambert |
Wed, Mar 28 2007 5:10 PM | Permanent Link |
Dave Harrison | Roy Lambert wrote:
> I need to create a resource file containing 3 glyphs (bitmaps) but > > "You need to create a resource file with images in resource > type RT_RCDATA" > > I've had a bit of help from the component vendor but I'm still stuck. > > Anyone have a link where I can read up on these things > > So far (after taking an hour to discover you need a blank line at the end of the file) I have > > RESOURCENAME QADD "C:\3rdParty\nlhQry\qAdd.bmp" > RESOURCENAME QDELETE "C:\3rdParty\nlhQry\qDelete.bmp" > RESOURCENAME QMENU "C:\3rdParty\nlhQry\qMenu.bmp" > > > but I don't think this is right yet. > > Roy Lambert Roy, If you are using the Image Editor (D7) to create the .res file, then all file names must be in uppercase. You can check it by running the Image Editor and opening any Delphi .res file and you'll see the file names in the tree are uppercase as in "MAINICON". If they're not uppercase, they won't be found by the program. Cheers! Dave |
Thu, Mar 29 2007 3:14 AM | Permanent Link |
Roy Lambert NLH Associates Team Elevate | Dave
I'm actually using BCC32 because I was told "You need to create a resource file with images in resource type RT_RCDATA" and ImageEditor creates them as RT_BITMAP Roy Lambert |
Thu, Mar 29 2007 11:45 AM | Permanent Link |
Michael Baytalsky | Roy,
You need to create a simple plain text file with .rc extension and put the following lines in: qAdd RCDATA "C:\3rdParty\nlhQry\qAdd.bmp" qDelete RCDATA "C:\3rdParty\nlhQry\qDelete.bmp" qMenu RCDATA "C:\3rdParty\nlhQry\qMenu.bmp" First goes resource name, then type, then file name. Then compile it into res file. Regards, Michael Roy Lambert wrote: > I need to create a resource file containing 3 glyphs (bitmaps) but > > "You need to create a resource file with images in resource > type RT_RCDATA" > > I've had a bit of help from the component vendor but I'm still stuck. > > Anyone have a link where I can read up on these things > > So far (after taking an hour to discover you need a blank line at the end of the file) I have > > RESOURCENAME QADD "C:\3rdParty\nlhQry\qAdd.bmp" > RESOURCENAME QDELETE "C:\3rdParty\nlhQry\qDelete.bmp" > RESOURCENAME QMENU "C:\3rdParty\nlhQry\qMenu.bmp" > > > but I don't think this is right yet. > > Roy Lambert |
Thu, Mar 29 2007 1:03 PM | Permanent Link |
Roy Lambert NLH Associates Team Elevate | Michael
That's it - thanks Roy Lambert |
This web page was last updated on Tuesday, September 17, 2024 at 04:19 AM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |