Appendix A Errors and Warnings
LabWindows/CVI Programmer Reference Manual A-12
©
National Instruments Corporation
Dereference of function
pointer used as data.
Fatal
Run-time Error
You converted a function pointer to a
non-function pointer and then dereferenced
it. You can only execute functions and access
them as data.
Dereference of invalid
pointer expression.
Fatal
Run-time Error
Pointer expression you dereferenced is
invalid. It is probably the result of a previous
invalid pointer operation.
Dereference of null
pointer.
Fatal
Run-time Error
Pointer expression you dereferenced has the
value
NULL and cannot be dereferenced.
Dereference of
out-of-bounds pointer:
NUMBER bytes (NUMBER
elements) before start
of array.
Fatal
Run-time Error
Pointer expression you dereferenced is
invalid because it refers to a location before
the start of an array. The error message
shows the number of bytes and the number
of array elements in the array. The
expression is probably the result of previous
illegal pointer arithmetic.
Dereference of
out-of-bounds pointer:
NUMBER bytes (NUMBER
elements) past end of
array.
Fatal
Run-time Error
Pointer expression you dereferenced is
invalid because it refers to a location past the
end of an array. The error message shows the
number of bytes and the number of array
elements past the end of the array. The
expression is probably the result of previous
illegal pointer arithmetic.
Dereference of pointer
to freed memory.
Fatal
Run-time Error
Pointer expression you dereferenced is
invalid because it refers to a location in
dynamic memory that you deallocated with
the
free function. Once memory is free, all
pointers into that block of memory become
invalid.
Dereference of unaligned
pointer.
Fatal
Run-time Error
[UNIX only]
Pointer expression you dereferenced is
invalid because it points to an address that
does not have the proper alignment for the
type of the dereferenced object.
SPARCstation architecture requires that
16-bit objects be halfword aligned, 32-bit
objects be word aligned, and 64-bit objects
be doubleword aligned.
Table A-1.
Error Messages (Continued)
Error Message Type Error Comment
00ProRef.book : 07AppA.fm Page 12 Monday, March 9, 1998 3:23 PM