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, ...).