PM_fatalError

Report a fatal error condition and halt the program.

Declaration

void PMAPI PM_fatalError(
    const char *msg)

Prototype In

pmapi.h

Parameters

msg

Message to display as the fatal error prior to exit

 

Description

This function is a portable method to report a fatal error condition and then halt program execution. It will display the error message using whatever mechanism is appropriate for the operating system. ie: A console text message in DOS, OS/2, Linux etc, or a popup dialog box for a GUI based environment like Windows, PMSHELL or X11.

See Also

PM_setFatalErrorCleanup

Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com