[solved] GoRC is limiting resource names to 10 characters?

Started by akane, May 25, 2009, 07:16:09 PM

Previous topic - Next topic

akane

home.htm HTML "res/home.htm"
main.css HTML "res/main.css"
domains.txt HTML "res/domains.txt"

Compiling this simple script with GoRC 0904 gives two errors in the last line:An ID was not evaluated and was assumed to be a name:-
.txt
User-defined resource type must be 100h to 0FFFFh (1 to 0FFh reserved):-
100.txt

If I remove one character from domains.txt name, it compiles fine, so I see there is 10 characters limit.
But for example mshtmler.dll has html resources with much more characters - centeralign.gif, wordbreak.gif...

jorgon

Hi Akane

I created a folder "res" and three files with the same name, and ran the rc file through GoRC but I get no error message.

There is probably something in your resource file earlier than these three lines which has not been completely compiled.

Could you please check the earlier lines and if you do not find the cause of the problem could you please send the rc file to me by email using the email address which appears when you run GoRC.

Author of the "Go" tools (GoAsm, GoLink, GoRC, GoBug)

akane

Thanks, today it compiled fine.
It was caused probably by "#define domains.txt 100" added to the script by ResEd. I have deleted this invalid define only from the additional header and got again compile error. Posted here and just later found and deleted the define from .rc file.