// JP opened flex table

Click to See Complete Forum and Search --> : API and their H files


mikledet
December 30th, 2002, 04:13 PM
Hi All,

Since many API functions are wraped in MFC, I suppose, that the API include files are included through the MFC H files - maybe also in the precompiled afx includes?

Could some one confirm or deny this?
If this is correct - could you explain the general "mechanics" of how the API H files are included in MFC?

Any extra info on API H files (like name convetion if there is one etc...) will be most welcome.

Thanks

Dani.

billwilson3
December 30th, 2002, 05:09 PM
The MFC functions that wrap API calls (or simply use them) include the .h files for the API calls used. They are included just like any other include...

#include <xxx.h>

They are included in the .c or .cpp files that use them. Ther eis no "General mechanism" that I know of...

There are no particular naming convensions (other than .h or possibly .hpp file suffixes)

Many are declared in windows.h. MSDN will tell you where they are defined.

//JP added flex table