A problem on resource processing

General Help regarding HMG, Compilation, Linking, Samples

Moderator: Rathinagiri

Post Reply
User avatar
esgici
Posts: 4543
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Contact:

A problem on resource processing

Post 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 1050 times
It's seem as a "excape sequence" processing issue.

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

Any idea ?
Viva INTERNATIONAL HMG :D
User avatar
danielmaximiliano
Posts: 2612
Joined: Fri Apr 09, 2010 4:53 pm
Location: Argentina
Contact:

Re: A problem on resource processing

Post 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 1046 times
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*

Saludos / Regards
DaNiElMaXiMiLiAnO

Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
User avatar
esgici
Posts: 4543
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Contact:

Re: A problem on resource processing

Post 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 75 times
Viva INTERNATIONAL HMG :D
User avatar
danielmaximiliano
Posts: 2612
Joined: Fri Apr 09, 2010 4:53 pm
Location: Argentina
Contact:

Re: A problem on resource processing

Post 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
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*

Saludos / Regards
DaNiElMaXiMiLiAnO

Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
User avatar
danielmaximiliano
Posts: 2612
Joined: Fri Apr 09, 2010 4:53 pm
Location: Argentina
Contact:

Re: A problem on resource processing

Post 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 1015 times
Last edited by danielmaximiliano on Mon Apr 21, 2014 5:18 pm, edited 3 times in total.
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*

Saludos / Regards
DaNiElMaXiMiLiAnO

Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
Javier Tovar
Posts: 1275
Joined: Tue Sep 03, 2013 4:22 am
Location: Tecámac, México

Re: A problem on resource processing

Post by Javier Tovar »

Gracias DanielMaximiliano por la información y aclaración! :D

Saludos
Post Reply