'KCMLGetChromiumVersion(pVerInfo)

Arguments

DIM()pVerInfo[out]

Returns

This function returns TRUE on success, or FALSE on failure.

Syntax

The following definition is built into KCML. You do not have to include it in your own code.

$DECLARE 'KCMLGetChromiumVersion(RETURN DIM())

Remarks

This function returns version information about the Chromium Embedded web control (if installed)

To get version information about the Chromium control container use KCMLGetChromiumShimVersion.

Example

	LOCAL DIM v$_KCML_CHROMIUMVERSION
	LOCAL DIM Version$32
	LOCAL DIM VersionMsg$128
	LOCAL DIM HaveChromium
	HaveChromium = 'KCMLGetChromiumVersion(BYREF v$)
	IF (HaveChromium)
		REM Chromium is installed.
		REM There are two versions
		REM The version of the Chromium Embedded Framework
		REM The version of Chromium contained by the framework
		VersionMsg$ = $PRINTF("CEF Version %d Commit %d Chromium %d.%d.%d.%d", FLD(v$.CHROMIUM_CEF_VERSION_MAJOR), FLD(v$.CHROMIUM_CEF_COMMIT_NUMBER), FLD(v$.CHROMIUM_VERSION_MAJOR), FLD(v$.CHROMIUM_VERSION_MINOR), FLD(v$.CHROMIUM_VERSION_BUILD), FLD(v$.CHROMIUM_VERSION_PATCH))
	ELSE
		VersionMsg$ = "Chromium not installed"
	END IF

Further Information

IntroducedKCML 7.14
CompatibilityKClient

See Also

KCMLAddNotifyIcon, KCMLDeferHiddenControls, KCMLDlgMessageBox, KCMLEnableBufferKeys, KCMLEnableDropdownPreFill, KCMLEnableModalPopups, KCMLForceChromium, KCMLGetBufferKeys, KCMLGetChromiumShimVersion, GetLocalTime, KCMLGetWindow, KCMLHideErrorDialogs, KCMLHookIEOCX, MessageBox, KCMLRemoveNotifyIcon, KCMLSetBrowserDebugPort, KCMLSetBufferKeyBreakKey, KCMLSetBufferKeyTimeout, KCMLSetBufferKeys, KCMLSetCenturyThreshold, KCMLSetChromiumAcceptLang, KCMLSetDollarConvert, KCMLSetHTMLCtrlRelativeURL, KCMLSetTitleTemplate, KCMLTouchScreenMode

Index of internal $DECLARE functions