Porovnávané verzie

Kľúč

  • Tento riadok sa pridal
  • Riadok je odstránený.
  • Formátovanie sa zmenilo.

Declaration


Blok kódu
languagecpp
themeConfluence
void (_stdcall *GetApplDir)(char *Dir);


Parameters


ProtNameA pointer to a buffer with a size of at least 81 characters.sufficient size (the maximum path length in Windows is 256 characters)


Description

The function returns to the buffer pointed to by the Dir parameter the application directory of the current D2000 application without the trailing slash (e.g. D:\D2000\D2000_APP\Demo).
Note: if the buffer is not big enough (number of characters in the path of the application directory + terminating zero), there will be overflow and writing outside the allocated buffer.


Info
titleRelated pages:

D2000 KomAPI - call-back function