MFC 参考资料(转)

//统计多字节长度
int num = 0;
char * p = "test";
num = strlen(p);

//统计宽字节字符串
wchar_t *p  = L"test";
int num = wcslen(p);

// char *转CString
char * p = "test";
CString str = CString(p);

//CString转char *
CString str = CString("test");
CStringA tmp;
tmp = str;
char * p = tmp.GetBuffer();

C++ 反编译工具: dependencywalker 下载地址:http://www.dependencywalker.com/

C++ 资源文件获取工具: Resource Hacker 下载地址:https://www.mydown.com/soft/474/586494974.shtml

 

Windows 事件日志(应用程序、系统)可以使用以下命令进行输出:

wevtutil epl Application %userprofile%\desktop\Application.evtx
wevtutil epl System %userprofile%\desktop\System.evtx

 

网上资料:

https://blog.csdn.net/wang18323834864/article/details/78621633/

https://www.jianshu.com/p/0324359b567c

http://c.biancheng.net/cpp/mfc/

https://jpdscore.github.io/blog/debugging/application-error-eventlog/

posted on 2021-07-09 17:41  wangzhiliang  阅读(88)  评论(0编辑  收藏  举报

导航