Solved

Compiling a resource table

Posted on 1998-08-30
4
243 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
  • 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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

770 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