I think you have to escape the \, so the modified line would be:
-------------------------------------------------------------------------=
-------
"C:\\Dev-C++\\Projects\\Generic\\generic.ico"
-------------------------------------------------------------------------=
-------
----- Original Message -----=20
From: Richard P. Evans=20
To: dev...@li...=20
Sent: Monday, November 27, 2000 3:04 PM
Subject: [Dev-C++] Problem with resource files.
Okay, here's my problem again. I am using the latest version of =
Dev-C++, 4.01, and I went to Project Options and changed the resource to =
be loaded to C:\Dev-C++\Projects\Generic\Generic.rc. I did a Makefile =
and then tried to compile. Below is what is in Generic.rc to load the =
icons which are in the same directory.
ID_MAIN ICON DISCARDABLE "generic.ico"
ID_RS ICON DISCARDABLE "rs.ico"
The compiling stops and I get the following message:
C:\DEV-C_~1\BIN\windres: can't open icon file `generic.ico': No such =
file or directory
To get around this I then put in the full path as shown below and =
tried again (with a new Makefile):
ID_MAIN ICON DISCARDABLE =
"C:\Dev-C++\Projects\Generic\generic.ico"
ID_RS ICON DISCARDABLE =
"C:\Dev-C++\Projects\Generic\rs.ico"
Again it stopped compiling but this time I got the messages below. =
What am I doing wrong? This is=20
the logical solution suggested by one correspondent but as you can =
see, logical as it is, it didn't work.
C:\\DEV-C_~1\\PROJECTS\\GENERIC\\GENERIC.RC:74: unrecognized escape =
sequence
C:\\DEV-C_~1\\PROJECTS\\GENERIC\\GENERIC.RC:74: unrecognized escape =
sequence
C:\\DEV-C_~1\\PROJECTS\\GENERIC\\GENERIC.RC:74: unrecognized escape =
sequence
C:\\DEV-C_~1\\PROJECTS\\GENERIC\\GENERIC.RC:74: unrecognized escape =
sequence
C:\\DEV-C_~1\\PROJECTS\\GENERIC\\GENERIC.RC:75: unrecognized escape =
sequence
C:\\DEV-C_~1\\PROJECTS\\GENERIC\\GENERIC.RC:75: unrecognized escape =
sequence
C:\\DEV-C_~1\\PROJECTS\\GENERIC\\GENERIC.RC:75: unrecognized escape =
sequence
C:\DEV-C_~1\BIN\windres: can't open icon file =
`C:\Dev-C++\Projects\Generic
s.ico': No such file or directory
-------------------------------------------------------------------------=
-----
Link is external to the Privacyx.com System
|