Where is my program running from?

Raymond Chen

Raymond

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

Comments are closed. Login to edit/delete your existing comments