Error in Resource File!! - Dev Pascal
Watch this threadPage 1 of 1
Skip to page:
Anna10
Badges:
2
?
You'll earn badges for being active around the site. Rep gems come when your posts are rated by other community members.
#1
I downloaded Dev Pascal from this site and there is always seems to be something wrong with the Rescourse file when i try and compile it.
This is what it says is wrong - i can never seem to fix it:
cpp: Too many arguments
C:\Dev-Pas\bin\windres: F:\Year 12\Computing\Programming export %usage\Rsrc.rc
parse error
It states that the file is from F: which is my USB key but i actually opened it from my C: drive!!
Please Help! - this is a lil urgent as it is for my courswork!!!!
This is what it says is wrong - i can never seem to fix it:
cpp: Too many arguments
C:\Dev-Pas\bin\windres: F:\Year 12\Computing\Programming export %usage\Rsrc.rc

It states that the file is from F: which is my USB key but i actually opened it from my C: drive!!
Please Help! - this is a lil urgent as it is for my courswork!!!!
0
reply
fuzelogik
Badges:
0
Rep:
?
You'll earn badges for being active around the site. Rep gems come when your posts are rated by other community members.
#2
Report
#2
It looks like Dev-Pascal isn't putting quotation marks around the file name, which makes windres choke (understandably). Try moving your project (or at least, the resource script) to a directory without any spaces: e.g. C:\ProjRes
Either that, or see if there are any settings to change the format that windres.exe is invoked; if there are, put quotation marks around the token that represents the name of the resource script.
Either that, or see if there are any settings to change the format that windres.exe is invoked; if there are, put quotation marks around the token that represents the name of the resource script.
0
reply
Anna10
Badges:
2
?
You'll earn badges for being active around the site. Rep gems come when your posts are rated by other community members.
#3
Whar does this mean??
C:\Dev-Pas\bin\windres: can't open icon file `DISCARDABLE"C:/Development/Dev-Pas/Icons/Mainicon.icon"': Invalid argument
C:\Dev-Pas\bin\windres: can't open icon file `DISCARDABLE"C:/Development/Dev-Pas/Icons/Mainicon.icon"': Invalid argument
0
reply
fuzelogik
Badges:
0
Rep:
?
You'll earn badges for being active around the site. Rep gems come when your posts are rated by other community members.
#4
Report
#4
It looks like you resource script is messed up. Could you post the contents of it here? Enclose it with code tags:
It's probably easier to fix it by hand.
Code:
like this
0
reply
Anna10
Badges:
2
?
You'll earn badges for being active around the site. Rep gems come when your posts are rated by other community members.
#5
Ok well the whole resource problem is fixed now - not sure how but it is thanks for the help.
But...
now i have done the code and it says:
Fatal
nexpected end of line
Where the last thing is : end.
It doesnt like it being a full stop at the end but it doesnt like a semi colon either???
Help!
But...
now i have done the code and it says:
Fatal

Where the last thing is : end.
It doesnt like it being a full stop at the end but it doesnt like a semi colon either???
Help!
0
reply
fuzelogik
Badges:
0
Rep:
?
You'll earn badges for being active around the site. Rep gems come when your posts are rated by other community members.
#6
Report
#6
I've never coded in Pascal for more than a day, but I seem to remember there are three 'end' statements. Can you paste the part of the source code that the error occurs in? (the whole function that the error occurs in would be great).
Once we can see the context of the error, it should be a lot easier to fix.
Once we can see the context of the error, it should be a lot easier to fix.

0
reply
imanewbie
Badges:
1
Rep:
?
You'll earn badges for being active around the site. Rep gems come when your posts are rated by other community members.
#7
X
Page 1 of 1
Skip to page:
Quick Reply
Back
to top
to top