64bit
This is the first 64bit release.
The setup contains 32bit plus 64bit binaries of THBImage.
Now there is one .Net assembly labelled THB.THBImage.dll.
It is now built with platformtype ‘Any’ and will load either 64bit or 32bit dlls depending on the starting executeable platformtype.
All .NET examples are now built with platformtype ‘Any’. You have to take care that the .Net application gets proper dlls depending on the platform type.
To evaluate the 32bit version ensure that the PATH environment variable points to the bin32/All folder.
Ensure that the .Net example projects add a reference to the THB.THBImage.dll .Net assembly from the bin32/All folder.
To evaluate the 64bit version ensure that everything points to the bin64/All folder.
How to deploy 32bit version
To deploy the 32bit version of THBImage please go to the bin32/All folder, run YourSetup.cmd and add all remaining files to your setup. Deploy all files to your application.exe folder.
How to deploy 64bit version
To deploy the 64bit version do the same in the bin64/All folder.
Current limitations of the 64bit version:
- No DTwain32.dll
- No TAIPAP50.dll
- The 64bit Twain demo will not work.
- All forms that use smooth drawing through the TAIPAP50.dll will not work.
We will remove some of these limitations in the coming months.
TVieAP50.dll not found
If you have troubles like TVieAP50.dll not found then there are three common problems:
- a 32bit executeable tries to find 32bit dlls but just finds 64bit dlls
- a 64bit executeable tries to find 64bit dlls but just finds 32bit dlls
- MSVCRT90 runtime files folder is missing or MSVCRT90 setup was not installed(which is just necessary if there is no MSVCRT90 runtime files folder)
- While using VisualStudio.NET you may get this message because VisualStudio.NET copies the THB.THBImage.dll .Net assembly from the bin32/All folder (or bin64/All respectively) into the projects output folder. As a consequence the native dlls like TVieAP50.dll are no longer in the same folder along with the .Net assembly THB.THBImage.dll.
To solve this please
- Remove the binary folder that you don’t need (bin32/All or bin64/All).
- The easiest way is to create a PATH environment variable pointing to the binary folder but this is an optional step.
- Run the proper vcredist executeable. There are separate versions for 32bit and 64bit.
- Set the CopyLocal property of the THB.THBImage.dll reference to False.
Native dlls like TVieAP50.dll have to be in the same folder along with the .Net assembly THB.THBImage.dll
Each vcredist has a version number. Downloading any package from www.microsoft.com does not guarantee that you have the proper version. So you have to take the version that we deliver along with the THBImage SDK setup or take care that you download the proper version at www.microsoft.com.



RSS News Feed