![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
c++
洋洋不得意
这个作者很懒,什么都没留下…
展开
-
ProtoBuf 常用序列化/反序列化API
转自:http://blog.csdn.net/sealyao/article/details/6940245 1、C数组的序列化和反序列化API [cpp] view plain copy //C数组的序列化和序列化API bool ParseFromArray(const void* data, int size); b转载 2017-02-08 17:33:58 · 452 阅读 · 0 评论 -
cef3.2171.1979对flash的支持
在CefApp的子类中重写方法OnBeforeCommandLineProcessing加入一行代码:command_line->AppendSwitchWithValue("--register-pepper-plugins" ,"PepperFlash\\pepflashplayer.dll;application/x-shockwave-flash");pepflashplayer.d...原创 2018-06-21 21:06:30 · 531 阅读 · 0 评论 -
duilib打包资源到exe里面
void InitResource() { using namespace DuiLib; CPaintManagerUI::SetResourceType(DuiLib::UILIB_ZIPRESOURCE); HRSRC hResource = ::FindResource(CPaintManagerUI::GetResourceDll(), MAKEINTR...原创 2018-08-31 17:54:15 · 704 阅读 · 0 评论 -
c++查找桌面快捷方式,没有就创建
bool GetFileList(std::string path) { path += "\\*"; CFileFind finder; BOOL working = finder.FindFile(path.c_str()); while (working) { working = finder.FindNextFile(); if (!finder.IsDirector...原创 2018-10-25 12:00:12 · 843 阅读 · 1 评论