PARAMETER
      MACErrorMessage = "Invalid function parameter"
   Case ERROR_UNSUPPORTED_FILE_TYPE
      MACErrorMessage = "Unsupported file type"
   Case ERROR_UNSUPPORTED_FILE_VERSION
      MACErrorMessage = "Unsupported file version"
   
   '// memory errors (2000's)
   Case ERROR_INSUFFICIENT_MEMORY
      MACErrorMessage = "Insufficient memory"
   '// dll errors (3000's)
   Case ERROR_LOADINGAPE_DLL
      MACErrorMessage = "Error loading MAC.DLL"
   Case ERROR_LOADINGAPE_INFO_DLL
      MACErrorMessage =