I'm trying to use GetModuleUsage to determine when a fortran
program is done running. My code looks like this
RetVal = shell("fortran.exe")
do while getmoduleusage(retval) > 0
The problem is that Shell is returning a long for RetVal
and GetModuleusage expects an integer.
I can't seem to make getmoduleusage accept a long.
so I seem to be stuck.
What do I do?