>Hello All,
>
>I have an app that uses the Windows API MCI commands to play a wave and avi files. The calls work fine under Win9X however I am getting error messages when run under Win2K. Any comments would be appreciated.
With no code and no error messages, it's difficult to do.
If it returns a value (typically a 0) to indicate failure, and you need to get the failure code, you must declare the following before making the API Cal
DECLARE INTEGER GetLastError IN WIN32API
IF nResult = 0
WAIT WINDOW 'ERROR ' + TRANSFORM(GetLastError())
ENDIF