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

problem inputting a resource file in MVS using Fortran compiler

ivf_171123
Beginner
938 Views

I have recently installed the necessary software packages for running Fortran on MVS on Windows 11, but have come across a few problems with MVS accepting some of my code - the code worked well on a 9 year old version of IVF running on Microsoft operating windows 7 and 8.  When after loading the resource file, the MVS objected to opening the file into a window -  I believe I managed to take the correct steps for creating the project.  

Below is a file containing the error message received and a few sample lines of the resource file.  

Thanks for any help with this problem.

 

// Generated by ResEdit 1.5.4
// Copyright (C) 2006-2010
// http://www.resedit.net

#include <windows.h>
#include <commctrl.h>
#include <richedit.h>
#include "osd.h"

//
// Menu resources
//
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
CMNDLGMENU MENU
{
    POPUP ""
    {
        MENUITEM "&Undo\tCtrl+Z", IDM_UNDO
        MENUITEM SEPARATOR
        MENUITEM "Cu&t\tCtrl+C", IDM_CUT
        MENUITEM "&Copy\tCtrl+C", IDM_COPY
        MENUITEM "&Paste\tCtrl+V", IDM_PASTE
    }
    POPUP "&File"
    {
        MENUITEM "&New", IDM_NEW
        MENUITEM "&Open", IDM_OPENFILE
        MENUITEM "&Save", IDM_SAVEFILE, GRAYED
        MENUITEM "Save&As ...", IDM_SAVEFILEAS
        MENUITEM "&Print...", IDM_PRINT
        MENUITEM "E&xit", IDM_EXIT
    }

//
// Dialog resources
//
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
ABOUTBOX DIALOG 22, 17, 144, 75
STYLE DS_MODALFRAME | DS_SETFONT | WS_CAPTION | WS_SYSMENU
CAPTION "About Opticsoft-II"
FONT 8, "MS Sans Serif"
{
    CTEXT           "OPTICSOFT-II", IDC_STATIC, 0, 6, 144, 8, SS_CENTER
    CTEXT           "Version 2311", IDC_STATIC, 0, 16, 144, 8, SS_CENTER
    DEFPUSHBUTTON   "OK", IDOK, 55, 59, 32, 14, WS_GROUP
    LTEXT           "Ian Powell", IDC_STATIC, 56, 41, 35, 8, SS_LEFT
    LTEXT           "by", IDC_STATIC, 67, 29, 8, 8, SS_LEFT
}

--------------------------------------------------------------------------------------------------------
Labels (1)
0 Kudos
2 Replies
Steve_Lionel
Honored Contributor III
924 Views

I'm not seeing the error message. I have had issues over the years with the Resource Editor and Compiler not finding windows.h, even though all the include paths are correct. This problem comes and goes. When I had the issue, I gave up and specified the full path to windows.h in the resource file. 

0 Kudos
ivf_171123
Beginner
920 Views

Thanks for the response, Steve.  Apologies for omitting the actual error message - see below.  I also remember having problems with windows.h on IVF. 

 

-------------------------------------------------------------------------------------------------------

 

C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\shared\guiddef.h(146)

 

fatal error RC1015:cannot open include file ‘string.h’.

 

          OK   Edit Code

--------------------------------------------------------------------------------------------------------

0 Kudos
Reply