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

linux intel fortran dialogue box

ekeom
Novice
719 Views
Hello,

I would like to display a warning message using Intel Linux Fortran. The equivalent Visual fortran line code are :

-------------------
use dfwin
use dfwinty

implicit none

integer :: i

character*100 :: lpszmessage, lpszheader

lpszmessage = ' warning message 'c

i = messagebox(0,lpszmessage,lpszheader,ior(mb_systemmodal,mb_ok))
--------------------------

Can someone help me to do this.

Thank you

Didace
0 Kudos
1 Reply
Steven_L_Intel1
Employee
719 Views
You can't use the Windows Win32 API routines on Linux. That means nothing from DFWIN or DFWINTY.

There is nothing I know of that is standard on Linux (if such a concept even applies) equivalent to the Win32 "user32" routines. If you write your program to use Xlib and a window manager, there are things you can do. There are also third-party libraries such as GINOMENU which have OS-neutral libraries for a graphical user interface.

I'm sure some more experienced Linux users will chime in with other suggestions.
0 Kudos
Reply