搞什么阿,感觉都是乱说啊
1、GetModuleFileName()就可以了!
2、fopen可以指定文件目录阿
3、Unicode环境下与fopen对应的是_wfopen
4、给你看一个例子:
// First free the string allocated by MFC at CWinApp startup.
// The string is allocated before InitInstance is called.
free((void*)m_pszProfileName);
// Change the name of the .ini file.
// The CWinApp destructor will free the memory.
m_pszProfileName=_tcsdup(_T(“d:\\somedir\\myini.ini”));
然后就可以用theApp.GetProfileString等等函数,你自己在MSDN中查找一下
5、WinCE3.0默认的字体好像Tomnha(不只写错了没有),如果在程序中改的话,
也可以选择的阿!
1.好像没有其它方法,为什么不用__FILE__ 中取?
2.fopen,您可以加上全路径。
3.wince2.11没有用过,但我想是支持的。在CE帮助中,一般均说明此函数从那个版本开始支持,但fopen中却没有。
4.下面是CE帮助中的一段:
CWinApp::WriteProfileString
This method writes the specified string into the specified section of the .ini file in the application.