ITcPlcIECProject::SaveAsLibrary

Saves the project as a library. Equivalent to SaveAsLibrary2 without encryption.

Signature

HRESULT SaveAsLibrary([in] BSTR bstrLibraryPath, [in, defaultvalue(0)] VARIANT_BOOL binstall);

Parameter

Name

Type

Description

bstrLibraryPath

BSTR

[in] Full path to the library to be created.

binstall

VARIANT_BOOL

[in, defaultvalue(0)] VARIANT_TRUE installs the library into the active profile after it is created.

Return value

Name

Type

Description

(HRESULT)

HRESULT

S_OK if successful, otherwise an error code.