Solved

Compiling a resource table

Posted on 1998-08-30
4
245 Views
Last Modified: 2010-04-04
I am just starting to use string tables.  I have created a file called SQL.RC  It is - exactly - this:


STRINGTABLE
BEGIN
1, "help"
END

---- I run the following command against it...

E:\DELPHI3\DELPHI3\BIN\BRCC32 -R SQL.RC

It always returns the error message...
Error sql.rc 4 66: Unterminated string or hexstring constant

What am I doing wrong...?
Thanks
0
Comment
Question by:gspears060598
[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
  • 3
4 Comments
 
LVL 10

Accepted Solution

by:
viktornet earned 20 total points
ID: 1338164
It is suppose to be working. I tried it and it worked. I just had to move the .rc file into the directory where my brcc32 is in the bin drirectory and everything worked fine.

I had this in my .rc code...

STRINGTABLE
BEGIN
1, "help"
END

exactly like your, and it worked.....

Regards,
Viktor Ivanov
0
 
LVL 10

Expert Comment

by:viktornet
ID: 1338165
I'm not running it from E:/ which I guess is your CD-ROM???

Regards,
Viktor Ivanov
0
 

Author Comment

by:gspears060598
ID: 1338166
HI,

E: is just anothe drive (not cd-rom) on my system.  When I move the file to the directory where brcc32 is located it works, otherwise it doesn't.  Goofy problem.

Thanks

0
 
LVL 10

Expert Comment

by:viktornet
ID: 1338167
Just another comment....If the file is in another direcotry you should move it to the brcc32, or try for more simplicity to write the full path to the file in this case SQL.rc

Ex. brcc32 -R C:\windows\desktop\SQL.rc

I haven't tried it but it might work and if it does I think it's more simple to work with ;-)

Regards,
Viktor Ivanov
0

Featured Post

Independent Software Vendors: 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

Suggested Solutions

Title # Comments Views Activity
Delphi : could not find program, '...exe' 2 215
error 1.1 400 Bad request idhttp delphi 18 206
Run video youtube webbrowse 10 73
Twebbrowser add css to the header 3 39
Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

733 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