【发布时间】:2015-06-30 10:17:21
【问题描述】:
我正在用纯 C 语言编写一个程序,使用 win32 api。
我需要知道注册程序的完整路径。
例如,如果我写
ShellExecute(0,0,"chrome",0,0,SW_SHOW)
chrome 浏览器启动。如何像ShellExecute 那样从"chrome" 获得"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe"?
【问题讨论】:
标签: c winapi shellexecute