How to get the current application path in MFC (VC ++)?

How to get the current application path in MFC (VC ++)? Thank.

+3
source share
1 answer
TCHAR szDirectory[MAX_PATH] = "";
::GetCurrentDirectory(sizeof(szDirectory) - 1, szDirectory)
+5
source

Source: https://habr.com/ru/post/1776889/


All Articles