[B1 9.0] Building add-ons for x64
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...
You have to use AddOnInstallAPI_x64.dll for x64 Addon.
Addon - target platform x64
Installer - target platform x64