Help Center

AfxGetCurrentDirectoryfunction

Retrieves the current directory for the current process.

WindowsfunctionAfxWin.incdocumented

Syntax

FUNCTION AfxGetCurrentDirectory () AS DWSTRING
Also documented as AfxCurDir, AfxGetCurDir — one description covers them all.

Return value

The name of the current directory for the current process.

Description

Retrieves the current directory for the current process. Aliases: AfxGetCurDir, AfxGetCurrentDirectory- Unicode replacement for Free Basic's CurDir.

Reference

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