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

Error initializing application

cean
New Contributor II
462 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
399 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
355 Views

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

0 Kudos
Devorah_H_Intel
Moderator
352 Views
I reported the issue with attachments.
cean
New Contributor II
274 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
267 Views

repaired vc.

Got a new error window.

app rc error 4.jpg

Answer Yes, got the init error.

einit.jpg

0 Kudos
Reply