From: Xiaobing Liu <xiaobing_liu@ho...> - 2005-10-13 21:08:16
I've a question with regard to calling Windows API using watcom Fortran 77.
I need call function GetSystemInfo, which is not included in the
"winapi.fi". I've added a line "c$pragma aux (winapi) GetSystemInfo parm(
reference far )" in " winapi.fi". In addition, I defined the following
structure in my Fortran code, which will call function GetSystemInfo.
However, the code cannot be successfully compiled. An error message said
"GetSystemInfo is an undefined reference".
Could you please let me know how to correctly call GetSystemInfo using
watcom Fortran 77? Your help will be highly appreciated.
On 2005-10-13 21:07 UTC, Xiaobing Liu wrote:
> I've a question with regard to calling Windows API using watcom Fortran
This mailing list supports gcc, but watcom is a different compiler.
Probably you will get better help in some forum where watcom is