The MASM Forum Archive 2004 to 2012

Project Support Forums => GoAsm Assembler and Tools => Topic started by: akane on May 25, 2009, 07:16:09 PM

Title: [solved] GoRC is limiting resource names to 10 characters?
Post by: akane on May 25, 2009, 07:16:09 PM
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...
Title: Re: GoRC is limiting resource names to 10 characters?
Post by: jorgon on May 26, 2009, 10:42:58 AM
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.

Title: Re: GoRC is limiting resource names to 10 characters?
Post by: akane on May 26, 2009, 01:09:21 PM
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.