PRB: C2660Last reviewed: September 26, 1997Article ID: Q87636 |
The information in this article applies to:
SYMPTOMSWhen using the Microsoft Foundation Classes (MFC), the following error may occur when making a Windows application programming interface (API) call from within a member function of a window class:
C2660: 'function' : function does not take 'number' parameters CAUSEMany of the Windows API calls are accessed in the Microsoft Foundation Classes through member functions of the same name as the API calls. This means that the name will be recognized, but because most member functions require fewer parameters than their API counterparts, the C2660 error occurs.
RESOLUTIONEither of the following two methods eliminates the error:
|
Additional query words: fast tips
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |