Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
39 Views

compiling and linking resource file in VS2017

Does anyone know how to set the option to compile the *.rc file when building a windows application within VS2017 and link it to the fortran object files?  My set up of VS2017 is doing everything but compiling the rc file.

0 Kudos
2 Replies
Highlighted
Black Belt Retired Employee
39 Views

The usual cause for this is the wrong association for .rc files. Try this:

  1. Click on the Windows Search menu and type in regedit . When Registry Editor appears, click it to open.
  2. Find HKEY_CLASSES_ROOT > .rc
  3. Look at the value of (Default). It should be something like "VisualStudio.rc.14.0" (the number indicates the VS version. If it is something else, such as Text File, right click on the .rc in the left column, then click Delete, exit the registry editor and do a Repair of Visual Studio (and maybe Intel Parallel Studio). This should fix it.

If it is already a correct value, you might try deleting and doing the repair anyway.

0 Kudos
Highlighted
Beginner
39 Views

It worked!  Thank you, Steve.  Happy Christmas!

 

0 Kudos