BoxedAppSDK_RegisterCOMServerInVirtualRegistry
Description
The function registers a COM server, implemented as an executable file (exe), in the virtual registry, thus making the COM objects that are implemented in the server available to all the attached processes. This allows using COM objects without registering in the system registry.
Syntax
C++
DWORD __stdcall BoxedAppSDK_RegisterCOMServerInVirtualRegistry(LPCTSTR szCommandLine);
Delphi
function BoxedAppSDK_RegisterCOMServerInVirtualRegistry(szCommandLine: PAnsiChar): Longint; stdcall;
function BoxedAppSDK_RegisterCOMServerInVirtualRegistryA(szCommandLine: PAnsiChar): Longint; stdcall;
function BoxedAppSDK_RegisterCOMServerInVirtualRegistryW(szCommandLine: PWideChar): Longint; stdcall;
Parameters
szCommandLine
A command-line to register the exe server. Usually it is a path of the exe server with the command-line argument /RegServer or -RegServer.