LPCTSTR AfxGetAppName( ); Return ValueA null-terminated string containing the application’s name.ResThe string returned by this function can be used for diagnostic messages or as a root for temporary string names.Example// Print the application name to the debugger output window.
TRACE("Application name is %s\n", AfxGetAppName());
--------------------------------------------------------------------------------
Send feedback to MSDN.Look here for MSDN Online resources.
TRACE("Application name is %s\n", AfxGetAppName());
--------------------------------------------------------------------------------
Send feedback to MSDN.Look here for MSDN Online resources.
解决方案 »
- 9v也收录智勇三国了
- 各位大侠帮帮我,怎么用VC开发插件式系统?
- 求最优解的问题
- 如何把一幅图拷贝到场景中时,把这幅图中的全部白色去掉,变透明,怎么做?
- 继续散分,只为揭露无耻的浩艺!
- 100分!请问各位朋友,我想对文件的bit进行分析,判断,筛选,应该如何写?
- 我有一个VC6程序原来连access没错,然后改为sql server 2000就不能Select值了???
- 怎样HOOK到的消息及时反还窗口。不管该窗口是否活动状态,解决马上给分。线等待
- 请求大家帮助
- 有大连的吗
- 用socte和POP3协议收到的信中的中文有时是经过编码的,怎么解码?
- 如何为程序设置“启动画面”??请大虾帮忙!!!!!
我用AfxGetAppName( );返回myproject,并不是e:\myproject
HMODULE hModule, // handle to module
LPTSTR lpFilename, // file name of module
DWORD nSize // size of buffer
);
老兄,刚才我看没人答复,就急着给分结果分都给出,你的答案才到。
你到http://www.csdn.net/expert/topicview1.asp
那里有分