errors.hlp (Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
Error Message
                                                  Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
     Compiler error C2174
 
     'function' : actual has type void : parameter 'number1',
     parameter list 'number2'
 
     An attempt was made to pass a void argument to a function. Formal
     parameters and arguments to functions cannot have type void. They
     can, however, have type void * (pointer to void).
 
     This error occurs in calls that return a pointer to a function.
     The first number indicates which argument was in error; the second
     number indicates which argument list contained the invalid
     argument.
                                    -♦-