Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
Welcome to the Intel Community. If you get an answer you like, please mark it as an Accepted Solution to help others. Thank you!
26732 Discussions

compiling and linking resource file in VS2017

Chris_H_3
Beginner
136 Views

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
Steve_Lionel
Black Belt Retired Employee
136 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.

Chris_H_3
Beginner
136 Views

It worked!  Thank you, Steve.  Happy Christmas!

 

Reply