Page 1 of 1

A problem on resource processing

Posted: Mon Apr 21, 2014 2:24 pm
by esgici
Encountered a weird problem on resource processing :(

Code: Select all

rightbmp BITMAP "res\sright.bmp"
line proceessed with no problem and

Code: Select all

rightbmp BITMAP "res\right.bmp"
not :(
Invalid Argument message
Invalid Argument message
InvalidArgumen.PNG (13.98 KiB) Viewed 1120 times
It's seem as a "excape sequence" processing issue.

Because \a, \b ... ( no further tested ) coused the same problem.

Any idea ?

Re: A problem on resource processing

Posted: Mon Apr 21, 2014 2:37 pm
by danielmaximiliano
Hola Esgici :
modifique el archivo de recursos para agregar "" a la ruta donde se ubica el recurso y no tiene problemas, por ahi no entendi bien cual es el real problema.

Translate Google
Hello Esgici:
modify the resource file to add "" to the path where the resource is located and has no problems, there did not understand well what is the real problem.
2014-04-21 11_30_47-Autoservicio Los Tilos 2014.jpg
2014-04-21 11_30_47-Autoservicio Los Tilos 2014.jpg (80.62 KiB) Viewed 1116 times

Re: A problem on resource processing

Posted: Mon Apr 21, 2014 3:06 pm
by esgici
danielmaximiliano wrote: modify the resource file to add "" to the path where the resource is located and has no problems...
Gracias Danny, it is clarified :)

Problem is not inexistence but existence of quotation ( "" ) :?

( I was always (until now) used double quatation in RC files )
...not understand well what is the real problem.
Please see attachement.
RCProbTest.zip
Source files for RC problem tests
(1.48 KiB) Downloaded 79 times

Re: A problem on resource processing

Posted: Mon Apr 21, 2014 3:50 pm
by danielmaximiliano
apparently Resources or their abbreviations is a key word in the compiler.
Use other folder name to indicate where the resource files.

http://sourceware.org/binutils/docs/bin ... ndres.html

Re: A problem on resource processing

Posted: Mon Apr 21, 2014 3:57 pm
by danielmaximiliano
A problem on resource processing ( resolved )

To use Resources\ or their abbreviations use "Res\\"

example :

Code: Select all

rightbmp BITMAP "Res\\right.bmp"

2014-04-21 14_14_43-C__Temp_RCProbTest_RCProbTest.rc.jpg
2014-04-21 14_14_43-C__Temp_RCProbTest_RCProbTest.rc.jpg (38.1 KiB) Viewed 1085 times

Re: A problem on resource processing

Posted: Mon Apr 21, 2014 4:51 pm
by Javier Tovar
Gracias DanielMaximiliano por la información y aclaración! :D

Saludos