上一页 1 ··· 26 27 28 29 30 31 32 33 34 ··· 47 下一页
摘要: #include <windows.h> typedef BOOL(WINAPI* LPFN_ISWOW64PROCESS) (HANDLE, PBOOL); BOOL RegWriteString(HKEY hKey, string keyName, string keyValue, bool v 阅读全文
posted @ 2021-06-18 17:47 Hey,Coder! 阅读(111) 评论(0) 推荐(0)
摘要: /// <summary> /// 删除快捷方式 /// </summary> /// <param name="strName"></param> /// <returns></returns> BOOL DeleteDesktopShotCut(CString strName) { char P 阅读全文
posted @ 2021-06-18 16:40 Hey,Coder! 阅读(178) 评论(0) 推荐(0)
摘要: #include <windows.h> typedef BOOL(WINAPI* LPFN_ISWOW64PROCESS) (HANDLE, PBOOL); LPFN_ISWOW64PROCESS fnIsWow64Process = (LPFN_ISWOW64PROCESS)GetProcAdd 阅读全文
posted @ 2021-06-18 16:38 Hey,Coder! 阅读(181) 评论(0) 推荐(0)
摘要: 只需要添加最基础的两个注册表的键即可 路径: 32位:"SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Test" 64位:"SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Unins 阅读全文
posted @ 2021-06-17 17:41 Hey,Coder! 阅读(224) 评论(0) 推荐(0)
摘要: CWinThread *thread = AfxBeginThread(DownloadAsync, this, THREAD_PRIORITY_NORMAL, 0, NULL); //可在线程内部直接调用此函数退出当前线程 AfxEndThread(resultCode); //等待线程执行结束 阅读全文
posted @ 2021-06-17 11:04 Hey,Coder! 阅读(69) 评论(0) 推荐(0)
摘要: GCHandle objHandle = GCHandle.Alloc(Globals.Instance.BlackBoard, GCHandleType.WeakTrackResurrection); int address = GCHandle.ToIntPtr(objHandle).ToInt 阅读全文
posted @ 2021-06-10 19:25 Hey,Coder! 阅读(1811) 评论(0) 推荐(0)
摘要: #include <iostream> #include <fstream> #include <sstream>std::stringstream ss; std::ifstream fileStream{ filePath, std::ios::binary }; std::stringstre 阅读全文
posted @ 2021-06-10 17:40 Hey,Coder! 阅读(608) 评论(0) 推荐(0)
摘要: <!--移除默认选中的阴影(通过绑定ItemContainerStyle来使用)--> <Style x:Key="ListItemNullFocusContainerStyle" TargetType="ListBoxItem"> <Setter Property="SnapsToDevicePi 阅读全文
posted @ 2021-05-27 20:56 Hey,Coder! 阅读(550) 评论(0) 推荐(0)
摘要: 预览字体 引用字体 <UserControl.Resources> <!-- 方式一 --> <FontFamily x:Key="IconFont"> Pack://application:,,,/MyApp;component/font/#fontname </FontFamily> <!-- 阅读全文
posted @ 2021-05-27 17:08 Hey,Coder! 阅读(127) 评论(0) 推荐(0)
摘要: [源码地址]( http://sourceforge.net/projects/jsoncpp ) 直接使用源码 拷贝相关文件 把jsoncpp-src-0.5.0文件拷贝到工程目录下 将jsoncpp-src-0.5.0\jsoncpp-src-0.5.0\include\json和jsoncpp 阅读全文
posted @ 2021-05-26 10:18 Hey,Coder! 阅读(610) 评论(0) 推荐(0)
上一页 1 ··· 26 27 28 29 30 31 32 33 34 ··· 47 下一页