The Global ARCHICAD Community

Stay informed. Get help. Share your knowledge.

Discussions about using GRAPHISOFT's tools (API DevKit) for independent software developers

Moderators: Karl Ottenstein, LaszloNagy, ejrolon, Barry Kelly, gkmethy, MOREH Tamas, Akos Somorjai, Ed Brown, Mihály Palenik, Tibor Lorántfy, rmasaki

User avatar
By leilei
Hi,I compiled the Dll_Test example in archicad.
When I start archicad, it crashes every time in CheckEnvironment.How can I test this example?
Ralph Wessel wrote:
Thu Nov 08, 2018 1:57 pm
I notice a reference to (Win32) in your posted image. Are you possibly trying to build the add-on as 32-bit rather than 64?
Hi Ralph,
I used the Dependency Walker tool to view the DLL function, the GetProcAddress (gACAPIDLL, "ACAPI_GetOwnResModule") is null; it should be GetProcAddress (gACAPIDLL, "?ACAPI_GetOwnResModule@@YA_J_J@Z");
Now this plugin works fine.