I was testing a function routine this morning which should STOP the program (after issuing the error message associated with STOP) if there is a problem with the supplied function arguments.
With the 64 bit compiler and the winapp directive, the program executes the STOP statement, but does not print the desired error message.
winapp
print*, 'Without this print statement nothing is output to the winapp window under X64'
stop 'Something has gone wrong'
end