In this section:
This error is generated when a call is made through an uninitialized function pointer. Function pointer is uninitialized
Code Description Enabled Reported Platform FUNC_UNINIT_PTR Runtime Windows/Unix
Function pointer is uninitialized
The following code attempts to call a function through a pointer that has not been set:
Diagnosis at Runtime
- Line 2: Source line at which the problem was detected.
- Line 3: Description of the problem and the expression that is in error.
- Line 5: Stack trace showing the function call sequence leading to the error.
- Line 6: Informational message indicating that a serious error has occurred which may cause the program to crash.
This problem normally occurs because some assignment statement has been omitted from the code. The current example can be fixed as follows: