Swapnil Gupta
Swapnil Gupta

Reputation: 8941

How to Get Application Current Path in MFC(VC++)?

How to Get Application Current Path in MFC(VC++) ? Thanks.

Upvotes: 4

Views: 10092

Answers (1)

T33C
T33C

Reputation: 4429

TCHAR szDirectory[MAX_PATH] = "";
::GetCurrentDirectory(sizeof(szDirectory) - 1, szDirectory)

Upvotes: 5

Related Questions