DLLName property

[Top]  [Chapter]  [Previous]  [Next]

Applies to

WPDLLInt

Declaration

String DLLName

Description

When using the OCX please specify the path to the DLL in property DLLName. When using .NET please use the static method SetDLLName, i.e.

WPDynamic.WPDLLInt.SetDLLName("S:\\Appname\\WPTextDLL01.dll");

 

Once the name was applied it should not be changed anymore. It is possible to read the name from the registry: Specify the path to the registry key (type string) preceeded by {hkcu} to use HKEY_CURRENT_USER, or {hklm} to use HKEY_LOCAL_MACHINE.

 

Example: "{hkcu}Software\MyCompany\TextDynamic\path" will load the name from the string property path under HKEY_CURRENT_USER\Software\MyCompany\TextDynamic.

 

Note: The key Software\WPCubed\TextDynamic\path is created by the TextDynamic setup script and must not be used in your application. We use it our example projects only when the property DLLName has its default value "{please_change_this}";


[idh_wpdllint_dllname.htm]    Copyright © 2007 by WPCubed GmbH