Software Archive
Read-only legacy content

VC++

Deleted_U_Intel
Employee
392 Views
I am getting the following error when I try to execute a MSVC program in visual fortran

C:sampleioMSVCDma_BuffDma_95.rc(195) : fatal error RC1015: cannot open include file 'afxres.rc'.

I want to know why I am getting this error and how can I correct it.Thanks.
0 Kudos
1 Reply
Steven_L_Intel1
Employee
392 Views
The problem is that the resource compiler can't find afxres.rc n- this has nothing to do with Visual Fortran specifically, but the probable solution is - in Developer Studio, select Tools..Options..Directories..Show directories for..Include files. Add C:Program FilesMicrosoft Visual StudioVC98MFCINCLUDE to the list (adjust this if you installed Visual C++ somewhere else.) You'll pribably want to add ..VC98MFCLIB to the Library Files list too.

Steve
0 Kudos
Reply