Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

[ILINK32Error]Error: Unable to open file '_C.RES'

Status
Not open for further replies.

atzsea

Programmer
Jun 1, 2005
49
JP
I would like to ask as a beginner. Now using C++Builder2007.

When I create some simple projects in the default directory, can do Build successfully. But When I do the same thing in the othr directory, Build fails and Messages say as the following.

[ILINK32Error]Error: Unable to open file '_C.RES'
[ILINK32Error]Error: Unable to open file 'TEMPC.RES'

How can I cope with this?

 
I'm still using BCB 6 so this may not apply. Are you moving the files to another directory after creating them in the default directory? If so, Builder may still be looking for the resource file in the default directory. You have to change the directory in Builder.

The easiest way to get around this is to initially save the files and project to the directory of you choice. What I mean by this is as soon as you create the initial form, save the files but change the location of the file before you press the save button.



James P. Cottingham
[sup]I'm number 1,229!
I'm number 1,229![/sup]
 
Thank you, 2ffat-san.

I followed your suggestions and tried but in vain. The answer is the same. Soon after this, I attempted another way which idea came across my mind soon after that.

When the Project name is project1.exe, project1.res file is created. I moved only this file to the default directory. And the Build was successful.

Don't you do such a thing, usually?

I guess this means that ILINK32Error is the error of Linker and xx.RES file is the Linker itself, which the Compiler search for and can't find, so finally leads to the error.

If you have another way, tell me.
Thank you anyway.


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top