Where is my program running from?

Raymond Chen

Another common question: “How do I find out where my program is? I want to be able to access support files in that same directory.”

Answer: GetModuleFileName(NULL, …).

0 comments

Discussion is closed.

Feedback usabilla icon