Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Use the following C run-time library functions to improve the robustness of your program.
Run-Time Robustness Functions
| Function | Use | .NET Framework equivalent | 
|---|---|---|
| Transfers control to your error-handling mechanism if the new operator fails to allocate memory. | Not applicable. To call the standard C function, use PInvoke. For more information, see Platform Invoke Examples. | |
| Handles Win32 exceptions (C structured exceptions) as C++ typed exceptions. | Not applicable. To call the standard C function, use PInvoke. For more information, see Platform Invoke Examples. | |
| Installs your own termination function to be called by terminate. | Not applicable. To call the standard C function, use PInvoke. For more information, see Platform Invoke Examples. | |
| Installs your own termination function to be called by unexpected. | Not applicable. To call the standard C function, use PInvoke. For more information, see Platform Invoke Examples. |