<分区>
Possible Duplicate:
How to get the application executable name in Windows (C++ Win32 or C++/CLI)?
Extracting the current executable name
我需要使用 C++ 获取可执行文件目录的相对路径。我用 C# 完成了相同的程序,效果很好。
System.IO.Path.GetDirectoryName(System.Windows.Forms.Application.ExecutablePath)
我想使用 C++ 获得类似的结果。