MKI_FileApplicationPath (File I/O) Changed in Version 2014.2

www.CAD6.com

C++ Syntax

bool

MKI_FileApplicationPath(

 const LPCWSTR f_pszOldName,

 MKI_FILENAMEW& f_rNewName );

 

Supplies a "simple" file name with the current application path.

 

Parameters

OldName

[const LPCWSTR] Address of incomplete file name.

NewName

[MKI_FILENAMEW&] Address of text buffer to receive the complete file name.

 

Return Value

Returns true if successful, false if not.

 

Comment

This procedure will work for all types of file systems (FAT, Enhanced FAT, NTFS, HPFS). It is especially useful when calling help files or when trying to load other files that are usually located in the application's directory.

 

CAD6interface 2024.2 - Copyright 2024 Malz++Kassner® GmbH