请问:怎样得到当前应用程序所在的路径?
解决方案 »
- 求一个摄像头相关的程序
- 如何得到菜单句柄
- visual studio没有Microsoft Communications Cotrol?
- 新建了一个DIALOG,却出现如下错误.
- 请您帮助看看CTreeCtrl的问题!关于点击一个item响应消息,呵呵,我是通过create在mainframe中完成的。
- 请问如何邦定List Box控件变量数据组呢?即:CListBox m_ListBox[4];与四个List Box控件(ID分别为:IDC_LIST1,IDC_LIST2,IDC_LIST3,IDC_LI
- 高分求助,在线等候!!
- 哪位大哥做过虚拟打印机的程序
- 如何一次读取一行文本?
- 各位大侠帮忙啊!
- 用CopyFile的时候如果目标文件存在的话,怎么出现提示对话框让用户选泽?
- 如何在程序中调用word中的插入对象对话框——100分,高手指教
HMODULE hModule,
LPWSTR lpFilename,
DWORD nSize
);
Parameters
hModule
[in] Handle to the module whose executable file name is being requested. If this parameter is NULL, GetModuleFileName returns the path for the file used to create the calling process.
lpFilename
[out] Pointer to a buffer that is filled in with the path and file name of the given module.
nSize
[in] Specifies the length, in characters, of the lpFilename buffer. If the length of the path and file name exceeds this limit, the string is truncated.