- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi,
i work on a quickwin application using visual studio 2015 and intel visual fortran 2018 , i want to display a diaglog box but when i build the program it displayed me error#5102:cannot open include file 'resource.fd' , can anyone help me to fix this problem ?
Arezki Salem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
When you manually add a resource file to a project, rather than adding the resource directly, you need to add a custom build step to create the .fd file. The instructions for this are in Using Intel® Visual Fortran to Create and Build Windows*-Based Applications > Designing a Dialog Box Overview:
When you save your resource file for the first time, the resource editor also creates a Resource.h file. This file is included by the .RC file. To create the Fortran equivalent of this file (resource.fd), do the following:
-
Add Resource.h to your project using File>Add Existing Item....
-
Select the Resource.h file in the Solution View and the select View>Property Pages from the main menu bar.
-
Set the Command Line option to use the deftofd tool by entering:
deftofd resource.h resource.fd
(For more information on the deftofd tool, see The Include (.FD and .H) Files.)
-
Set the Description option to Generating Fortran include file...
-
Set the Outputs option to resource.fd.
-
Click OK.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
When you manually add a resource file to a project, rather than adding the resource directly, you need to add a custom build step to create the .fd file. The instructions for this are in Using Intel® Visual Fortran to Create and Build Windows*-Based Applications > Designing a Dialog Box Overview:
When you save your resource file for the first time, the resource editor also creates a Resource.h file. This file is included by the .RC file. To create the Fortran equivalent of this file (resource.fd), do the following:
-
Add Resource.h to your project using File>Add Existing Item....
-
Select the Resource.h file in the Solution View and the select View>Property Pages from the main menu bar.
-
Set the Command Line option to use the deftofd tool by entering:
deftofd resource.h resource.fd
(For more information on the deftofd tool, see The Include (.FD and .H) Files.)
-
Set the Description option to Generating Fortran include file...
-
Set the Outputs option to resource.fd.
-
Click OK.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi Doctor when i arrived at the 4th step, i don't understand what i must do ! can you please clarify this point ?
Arezki Salem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi ,
finally i fixed the program , thank you DOCTOR !
Arezki Salem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
That fourth step is just text to output when that part of the build is happening, it doesn't matter what you put there. Glad to hear you got it working.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page