?
Solved

Compiling a resource table

Posted on 1998-08-30
4
Medium Priority
?
253 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 80 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

Enroll in October's Free Course of the Month

Do you work with and analyze data? Enroll in October's Course of the Month for 7+ hours of SQL training, allowing you to quickly and efficiently store or retrieve data. It's free for Premium Members, Team Accounts, and Qualified Experts!

Question has a verified solution.

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

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…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…
Suggested Courses

650 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