Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.

Error initializing application

cean
New Contributor II
743 Views

Hi,

 

Installed MFC for vs2022 to play with a c++ progam.  But then when compile my old Fortran program, it lost Menu.

Tried to repair Fortran. Then tried to create a new Fortran SDI code, when run got this init error.

 

Any suggestion?

 

Cheers,

 

Cean

 

 

0 Kudos
5 Replies
andrew_4619
Honored Contributor III
680 Views

andrew_4619_0-1742824434313.png

I don't know if it is just me but that jpg attachment does not work.

0 Kudos
Steve_Lionel
Honored Contributor III
636 Views

The forum has broken attachments, it would seem. Other threads have the same issue.

0 Kudos
Devorah_H_Intel
Moderator
633 Views
I reported the issue with attachments.
cean
New Contributor II
555 Views

I updated VS. Still the same error. 

Now I deleted OneApi and installed Intel Fortran 2025.1.  I got this error. Cannnot open include file 'winres.h'

AI told me to add:

$(FrameworkSDKDir)\Include
$(WindowsSdkDir)Include\10.0.20348.0\um

 I added it under Fortran/Additional Include Directories.

 

After this, still got the error: Error initializing application WinApp2. 

WinApp2 is the program I just created.

 

VS installer told me Windows 10 SDK is not ticked. So I ticked it and installed the 20348 version. Surprise the MFC is not ticked either. All this begin with I want to try a MFC program and installed MFC. And the MFC program compiles well.

app rc error.jpg

 

0 Kudos
cean
New Contributor II
548 Views

repaired vc.

Got a new error window.

app rc error 4.jpg

Answer Yes, got the init error.

einit.jpg

0 Kudos
Reply