MKI_ProfileReadKeyOpen (Settings) Changed in Version 2020.2

www.CAD6.com

C++ Syntax

bool

MKI_ProfileReadKeyOpen(

 const LPCWSTR f_pszKeyName );

 

Opens a plug-in's profile in the configuration file for reading. Any reading will be directed to a plain-text configuration file named mkcad6pluginuser.ini.

 

Parameters

KeyName Changed in Version 2019.1

[const LPCWSTR] The plug-in's base name used in the profile's file name. Usually, this string should contain the plug-in's file name without any extension (e.g. "EXPDXF" or "TSTEXT1"), since this name is guaranteed to be unique.

 

Return Value

Returns true if successful, false if not.

 

Comment

Only one profile can be open at a time. Before being able to open another key for writing, the plug-in has to call MKI_ProfileReadKeyClose or MKI_ProfileWriteKeyClose.

 

CAD6interface 2025.0 - Copyright 2025 Malz++Kassner® GmbH