Home > Tools User's Guide > HB++ Data Access Objects

Installing and registering

HbDAO requires the presence of the file HbDAO.dll and the registration of the ActiveX objects and interfaces it contains.

When installing HB++, this file is copied in the HB++ directory and components are automatically registered.

However, if you don't have a copy of HB++ on your computer, or when you distribute an application developped with HbDAO, the component has to be registered. To do so, use the following command line (in can be included in the installation script of the desktop application you want to deploy):

regsvr32 /s /c the\path\to\hbdao.dll

regsvr32 is a utilty provided with Microsoft Visual Studio and is freely redistribuable. It is very likely that this file is already present in your Windows or System directory.