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

User avatar
By leilei
#288606
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?
Attachments
TIM截图20181108143848.png
User avatar
By leilei
#288653
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.