BIM Coordinator Program (INT) April 22, 2024

Find the next step in your career as a Graphisoft Certified BIM Coordinator!

Archicad C++ API
About Archicad add-on development using the C++ API.

error C3861: 'ACAPI_GetMainWindow': identifier not found, ev

Anonymous
Not applicable
Hello!

I want to receive HWND.
I cause ACAPI_GetMainWindow. For its use I write
#include "ACAPinc.h"
VS 2003 writes:
error C3861: 'ACAPI_GetMainWindow': identifier not found, even with argument-dependent lookup
In properties of the project:
"D:\Program Files\Graphisoft\API Development Kit 11.21\Support\Inc".

Why he does not find her?

Thanks.
1 REPLY 1
Akos Somorjai
Graphisoft
Graphisoft
You'll have to do a
#define ACExtension
before the #include statement.

HTH,

Akos
Learn and get certified!