- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I tried to build up a simple Dialog Box. Here is my codes
USE DFLOGM
INCLUDE 'resource.FD'
TYPE (dialog) dlg
LOGICAL retlog
retlog = DLGINIT( IDD_TEMP, dlg )
retint = Dlgmodal
end
But when I compiled it, I got the following error message:
Configuration: dialbox - Win32 Debug--------------------
Compiling resources...
C:FORTRANFILEDIALBOXDIALBOX.RC(10) : fatal error RC1015: cannot open include file 'afxres.h'.
Error executing rc.exe.
dialbox.exe - 1 error(s), 0 warning(s)
Can anyone help me?
USE DFLOGM
INCLUDE 'resource.FD'
TYPE (dialog) dlg
LOGICAL retlog
retlog = DLGINIT( IDD_TEMP, dlg )
retint = Dlgmodal
end
But when I compiled it, I got the following error message:
Configuration: dialbox - Win32 Debug--------------------
Compiling resources...
C:FORTRANFILEDIALBOXDIALBOX.RC(10) : fatal error RC1015: cannot open include file 'afxres.h'.
Error executing rc.exe.
dialbox.exe - 1 error(s), 0 warning(s)
Can anyone help me?
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
afxres.h should be in the ...Microsoft Visual StudioVC98Include directory. Check to see if it is there. If it is not, re-install VF. If it is, from Developer Studio, select Tools -> Options -> Directories tab -> Show directories for: -> Include files. Make sure that the ...VC98Include directory is on the list. If it isn't, add it.
Regards,
Leo
afxres.h should be in the ...Microsoft Visual StudioVC98Include directory. Check to see if it is there. If it is not, re-install VF. If it is, from Developer Studio, select Tools -> Options -> Directories tab -> Show directories for: -> Include files. Make sure that the ...VC98Include directory is on the list. If it isn't, add it.
Regards,
Leo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
leo, thanks. That was exactly the problem. I reinstalled it. It is working now.
![](/skins/images/3344F5B3B76C91485ED0E980FD0CA95E/responsive_peak/images/icon_anonymous_message.png)
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page