如何从本机win32 C ++应用程序获取当前实例的可执行文件名? [英] How can I get the current instance's executable file name from native win32 C++ app?

查看:51
本文介绍了如何从本机win32 C ++应用程序获取当前实例的可执行文件名?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

可能重复:
如何获取Windows中的应用程序可执行文件名称(C ++ Win32或C ++/CLI)?

如何获取当前实例的文件名&我的本地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

推荐答案

您可以通过 查看全文

登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆