|
dtSearch Support |
Last Reviewed: October 26, 2007
Article: DTS0217
Applies to: dtSearch Engine 7.50 and later
The dtSearch Text Retrieval Engine has 64-bit and 32-bit APIs for use in C++ and .NET. The APIs and index formats are identical between the 64-bit and 32-bit versions. Additionally, a 64-bit version of the dtSearch Indexer, dtindexer64.exe, is included with dtSearch Developer.
The 64-bit components are included with the dtSearch Developer setup and are installed by default in the C:\Program Files\dtSearch Developer\bin64 folder. On 64-bit operating systems, the default installation folder is C:\Program Files (x86)\dtSearch Developer\bin64. The setup program does not check for a 64-bit operating system or processor before installing the 64-bit components, so developers can build their applications on 32-bit systems if necessary.
In C++, you can use the same header files and API that you would use with the 32-bit version. Instead of linking with dten600.lib, link with dtengine64.lib. Your application will require the 64-bit version of the dtSearch Engine, dtengine64.dll. The C++ API does not depend on any MFC or CRT components.
A 64-bit version of dtSearchNetApi2.dll is installed in the bin64 folder. To use the 64-bit version of the .NET interface, add a reference to this dtSearchNetApi2.dll to your project, instead of the 32-bit version of dtSearchNetApi2.dll in the bin folder. The 64-bit .NET interface is identical to the 32-bit interface.
A .NET program built with the 64-bit version of dtSearchNetApi2.dll will require the 64-bit MFC and CRT components included with Visual Studio .NET 2005, SP1. Installing the vcredist_x64.exe redistributable included with Visual Studio .NET 2005 SP 1 will resolve these dependencies. To obtain vcredist_x64.exe, see Troubleshooting missing DLL problems.