如何从本机win32 C ++应用程序获取当前实例的可执行文件名? [英] How can I get the current instance's executable file name from native win32 C++ app?
本文介绍了如何从本机win32 C ++应用程序获取当前实例的可执行文件名?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何获取当前实例的文件名&我的本地win32 C ++应用程序中的路径?
How can I get the current instance's file name & path from within my native win32 C++ application?
例如;如果我的申请是c:\ projects \ testapps \ getapppath.exe它将能够告诉路径是c:\ projects \ testapps \ getapppath.exe
For example; if my application was c:\projects\testapps\getapppath.exe it would be able to tell the path is c:\projects\testapps\getapppath.exe
推荐答案
您可以通过 查看全文