- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
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
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
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.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page