Help Center

AfxGetExeFileNameXfunction

Returns the file name and extension of the program which is currently executing.

WindowsfunctionAfxWin.incdocumented

Syntax

FUNCTION AfxGetExeFileNameX () AS DWSTRING
Also documented as AfxExeFileNameX — one description covers them all.

Description

Returns the file name and extension of the program which is currently executing.

Reference

  • Include file AfxWin.inc
  • Defined in AfxNova/AfxWin.inc:559
  • Documented in Windows/Windows Procedures.md
  • Topic: Windows Procedures