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

application crash if you create a QuickWin or Windows application

pierangelo
Beginner
763 Views

In Visual Studio 2019 I created a 'standard graphics application' type fortran project and added a source file with the following code


program lower2upper
character*80 stringa
write(6,'(a,$)')'enter lowercase text >'
read(5,*) stringa
do i=1,len(stringa)
if(index('abcdefghijklmnopqrstuvwxyz',stringa(i:i)).gt.0) then
stringa(i:i) = char(ichar(stringa(i:i))-32)
endif
enddo
write(6,'(a)') ' uppercase text >'//stringa
end program lower2upper


I compiled the project for the 32-bit platform using the 2022.1, 2021.4 and 2021.2 releases

The program crashes with the first two releases while it works with the third.
The same behavior is achieved with the 64-bit platform.


I also tried to create a 'QuickWin application' type fortran project with the same results.

 

0 Kudos
2 Replies
andrew_4619
Honored Contributor II
754 Views

I think that is a known problem you can see it in a couple of recent threads on this forum.  Maybe this one https://community.intel.com/t5/Intel-Fortran-Compiler/READ-a-error/td-p/1340829/page/2

 

 

0 Kudos
Steve_Lionel
Black Belt
731 Views

Note that "Standard Graphics" is just a variant of QuickWin, one intended to emulate a DOS (!) application with just a full window and no controls or toolbar.

0 Kudos
Reply