The Advanced Imagery Library is a 32-bit library, optimized to work with 32-bit images. This is why
all internal image handles and references are typed as "Long" (32-bit integer) for VB5 and
VB6, and "Int32" for .NET. As a result, some special considerations need to be taken into
consideration when your application targets 64-bit versions of Windows.
1)64-bit libraries and assemblies go in the C:\Windows\System32\ folder.
2)32-bit libraries and assemblies go in the C:\Windows\SysWOW64\ folder. [?]
3)64-bit applications are installed in the C:\Program Files\ folder.
4)32-bit applications are installed in the C:\Program Files (x86)\ folder. [?]
5) The Advanced Imagery Library DLL files are all 32-bit, so they should go in the C:\Windows\SysWOW64\ folder. The FreeImage library (FreeImage3.dll) is a 32-bit "C style" library that should go in the same folder.
6) If you are going to be using the VB5 or VB6 COM DLL files (AdvImgLib5.dll & AdvImgLib.dll), they need to be registered with the 32-bit version of REGSVR32.EXE located in the C:\Windows\SysWOW64\ folder. To do this, right click on the CMD.EXE file located in the same folder and select "Run as Administrator", then execute the following statement: