Solved

Compiling a resource table

Posted on 1998-08-30
4
240 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
Comment Utility
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
Comment Utility
I'm not running it from E:/ which I guess is your CD-ROM???

Regards,
Viktor Ivanov
0
 

Author Comment

by:gspears060598
Comment Utility
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
Comment Utility
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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
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…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

771 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now