ReignBough wrote:
* The add-on is for lower version of ArchiCAD.
or upper...
To check the third point, download and install Dependency Walker (
http://www.dependencywalker.com/
)
Open your APX, go to
Options,
Configure Module Search Order... Browse to the ArchiCAD install directory (C:\Program Files\GRAPHISOFT\ArchiCAD xx) and click
Add directory, then click on
OK. When DW ask you if you want to refresh, answer by
Yes. You should then have no module load errors (except for some special DLL like API-MS-WIN-*.DLL or DCOMP.DLL).
To check the first point, you can use the DUMPBIN utility. Dump the imports of your APX, go to the GSRoot.dll section and note the hint before one of the imported functions (?DBPrintf@@YAXPEBDZZ for example; the hint is 911 for ArchiCAD 18 ). Then dump the export of GSROOT.dll, retrieve the ?DBPrintf@@YAXPEBDZZ function and check if the hint column matches. If not, it's because you have built your APX with the wrong version of the DevKit.
You can also use DW. Select GSROOT.dll in the tree, then select the ?DBPrintf@@YAXPEBDZZ in the list of exported functions. Then, in the contextual menu, choose
Highlight Matching Import Function. If the hints are different, then the APX is not build for the installed ArchiCAD.