COM hosts are supported for running our components

Our components, such as Hierarchical Data Library, Gantt Chart Library, or Project Management Library, have not been designed nor developed with direct COM or ActiveX accessibility (such as from within previous versions of Microsoft® Dynamics®/Navision) as a goal. However, they are able to be interfaced and accessed through COM and ActiveX based systems because our most of our assemblies have their ComVisibility attribute set to true, and we do support this type of usage, provided that you generate the the required COM type library files from our .NET library files and register the library files to COM yourself.

To register a DlhSoft .NET assembly file to COM, and generate a TLB file containing type information to be provided to external COM targets:

RegAsm DlhSoft.File.dll /tlb /codebase

RegAsm is a tool available with .NET Framework SDK and Windows® SDK.


We recommend creating COM wrappers for the components you need using Microsoft® .NET platform, though, exposing only the required functionalities to COM.


To set a DlhSoft license for specific client components used in applications hosted in an environment that doesn't support resource-based licensing, developers need to call a static method at application initialization time (before creating component instances), providing the license file content as a string parameter:

[Namespace].Licensing.[ComponentName].SetLicense("[...]");

Notes: