Appendix A Errors and Warnings
©
National Instruments Corporation A-11 LabWindows/CVI Programmer Reference Manual
Could not find the DLL
header file HEADER FILE. Glue Code
Generation
Error
LabWindows/CVI could not find the file that
contains the prototypes for the functions in
the DLL. When generating glue code, ensure
that you specify the correct filename. When
loading a DLL, ensure that a header file with
the same base name as the DLL exists.
d modifier not valid in
Fmt/FmtOut/FmtFile. Non-Fatal
Run-time Error d modifier cannot be used in Fmt, FmtOut,
or FmtFile.
Declaration of NAME does
not match previous
declaration at POSITION.
Compile
Error You declared a variable or function twice,
and its type in the first declaration does not
match its type in the second declaration.
Declared parameter NAME
is missing. Compile
Error Declaration for a parameter in an old style
parameter list is missing, or the declaration
does not match to any parameter name in the
list. Ensure that the names in the old-style
function definition have corresponding
parameter declarations. A better course is to
convert the old-style function definition to
the new-style function definition requiring
prototypes.
"defined" expects an
identifier argument. Compile
Error Preprocessor defined() operator requires
a single identifier argument; ensure that you
use an identifier and not an expression.
Dereference of a NUMBER
byte object where only
NUMBER bytes exist.
Fatal
Run-timeError Pointer expression you dereferenced points
to an object that is smaller than the type of
the dereference. For example, if an int
pointer points to an object of type char, you
cannot dereference the pointer because it
points to only 1 byte, whereas an int
requires 4 bytes.
Dereference of data
pointer used as a
function.
Fatal
Run-timeError You converted a data pointer to a function
pointer and then dereferenced it. You can
examine or modify data, but you cannot
execute it as a function.
Table A-1. Error Messages (Continued)
Error Message Type E rror Comment
00ProRef.book : 07AppA.fm Page 11 Monday, March 9, 1998 3:23 PM