The information in this article applies to:
SYMPTOMS
When 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:
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. RESOLUTION
Either of the following two methods eliminates the error:
Additional query words: kbvc100 kbvc150 kbvc151 kbvc152 kbvc200 kbvc210 kbvc400 kbvc500 kbvc600
Keywords : kbnokeyword kbMFC kbVC100 kbVC150 kbVC200 kbVC400 kbVC500 kbVC600 kbGrpMFCATL |
Last Reviewed: November 25, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |