Link to home
Start Free TrialLog in
Avatar of gspears060598
gspears060598

asked on

Compiling a resource table

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
ASKER CERTIFIED SOLUTION
Avatar of viktornet
viktornet
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I'm not running it from E:/ which I guess is your CD-ROM???

Regards,
Viktor Ivanov
Avatar of gspears060598
gspears060598

ASKER

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

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