MKI_GetBuildDate (Application) Changed in Version 2014.2

www.CAD6.com

C++ Syntax

bool

MKI_GetBuildDate(

 const LPCWSTR f_pszDate,

 MKI_STR32A& f_rText );

 

Reformats a given __DATE__ string to standard date format like "2022-03-28".

 

Parameters

Date

[const LPCSTR] Address a text containing the plug-in's build date information, should be set to __DATE__.

Text

[MKI_STR32A&] Text buffer to receive the reformatted build date.

 

Return Value

Returns true if successful, false if not.

 

Comment

Example code:

 

MKI_STR32A    szText1;

MKI_DUMMYSTRA szText2;

MKI_GetBuildDate( __DATE__, szText1 );

MKI_PrintA( szText2, "Release 2022.1, %s\n\n"

                     "Copyright 2022 Malz++Kassner\n\n"

                     "Developer: Stefan Malz", szText1 );

MessageBoxA( hGlobalWnd, szText2, "Sample Plug-In", MB_OK );

 

CAD6interface 2024.2 - Copyright 2024 Malz++Kassner® GmbH