2.1.3.5 okutil_check_register_COM_server


Description

register an ActiveX or COM dll if not already registered

Syntax

int okutil_check_register_COM_server( LPCSTR lpcszFulpathFilename, BOOL bRegister = TRUE )

Parameters

lpcszFulpathFilename
[input] filename, ext needed
bRegister
[in] TRUE to register, FALSE to unregister

Return

0 = already registered, nothing is done

1 = not registered yet, or not in the correct path, and redo registeration succeeded

-1 = need to register but failed

-2 = need to register but file not found

Examples

Remark

See Also

Header to Include

origin.h

Reference