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

How to share build add-on

RAFD
Participant

Does anyone know how to share or build an add-on that can be shared and working?

I manage to build an add-on from visual studio and it's working in my laptop archicad but when I share my work to others error occurs. It says that "this file is outdated add-on that cannot be used in this archicad version".

4 REPLIES 4
Akos Somorjai
Graphisoft
Graphisoft

Hi RAFD,

 

Please look at which DLLs the add-on uses (you can use Dependency Walker for that). If it shows any of the MSVC debugging libraries, then those are not installed on the other users' machines.

 

Best, Akos

Hi sir Akos,

 

Can you teach or show me how Dependency Walker works?

 

Thank you!

Akos Somorjai
Graphisoft
Graphisoft

Hi,

 

Put the built add-on directly into the directory where Archicad.exe is – this will allow the Dependency Walker to find DLLs that are part of Archicad's installation.

Open Dependency Walker (depends.exe), and open the add-on (if it doesn't allow you to open the .apx file, change its extension to .DLL).

Then check the module list where the DLLs are listed for anything in red.

For example, if you see MSVCRTD.DLL (note the 'D' and the end of the filename) – this is the debug version of the Microsoft C runtime library) that is not installed on the users' machines.

 

Best, Akos

 

Joel Buehler
Enthusiast

Also a little, but maybe stupid Tipp:

 

Debugging Builds do not work. You need to use a Release Built. 

 

Was that mistake in my first roll-out 😄