Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

[B1 9.0] Building add-ons for x64

Hello all,

I have a problem with the installer for x64 add-ons. The AddonInstallApi.dll provided by B1 x64 seems to be built for x86 and calls to it fail with the error: "An attempt was made to load a program with an incorrect format."  Are 64-bit add-ons supposed to use it, and if not, then what should they use instead? I didn't find any x64 analog for it.

Also how does the B1 client classify add-ons as either x86 or x64? I built my add-on as x64 in Visual Studio but it still is reported as x86 by B1. The AddonRegDataGen tool is x86 only as well...

Former Member replied

Hi Anton,

You have to use AddOnInstallAPI_x64.dll for x64 Addon.

Addon - target platform x64

Installer - target platform x64

Jozef Horyl

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question