Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

Include 'Resource.fd'

timberwolf
Beginner
622 Views
I am using Compaq Visual Fortran V6.6

I have created a MDI Fortran Window Application.

My WinMain calls a subroutine. Inside the subroutine I have statement INCLUDE 'resource.fd'. So, that I can access dialog items. However, when I compile it get an error saying it can not find and open that file.

If anyone can help tell what i am missing, I would appreciate it. thanks.
0 Kudos
2 Replies
Jugoslav_Dujic
Valued Contributor II
622 Views
Where is your resource.fd file?

By default, CVF looks for INCLUDEd files in the same directory as the source file and in the project root. On the other hand, resource.h and resource.fd are generated in the same folder as yourapp.rc (did you add it to your workspace?). What's the folder setup on your computer?

Jugoslav
0 Kudos
gregscvf
Beginner
622 Views
Try adding the following to Settings / Fortran / Preprocessor / INCLUDE and USE Paths: .

Greg
0 Kudos
Reply