License Delivery maintenance is expected to occur on Saturday, November 30, between 8 AM and 11 AM CET. This may cause a short 3-hours outage in which license-related tasks: license key upload, download, update, SSA validation, access to the license pool and Graphisoft ID authentication may not function properly. We apologize for any inconvenience.
Archicad C++ API
About Archicad add-on development using the C++ API.
SOLVED!

Archicad Dll_Test example crash

leilei
Enthusiast
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?
1 ACCEPTED SOLUTION

Accepted Solutions
Solution
leilei
Enthusiast
Ralph wrote:
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.

View solution in original post

3 REPLIES 3
Ralph Wessel
Mentor
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?
Ralph Wessel BArch
Software Engineer Speckle Systems
Solution
leilei
Enthusiast
Ralph wrote:
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.
leilei
Enthusiast
I compiled it all X64, start archicad don't know why it is win32 (exe)