上一页 1 ··· 26 27 28 29 30 31 32 33 34 ··· 42 下一页

2019年7月3日

c++库 c语言接口

摘要: 由于在C中不能识别类,所以要将上面类的成员函数,要封装成C接口函数才能被调用。下面进行封装,将输出接口转换成C接口。 在linux下,gcc编译器并没用变量_cplusplus来区分是C代码还是C++ 代码(没有宏定义),如果使用gcc编译器,这里我们可以自己定义一个变量_cplusplus用于区分 阅读全文

posted @ 2019-07-03 09:46 liujx2019 阅读(1081) 评论(0) 推荐(0) 编辑

2019年7月1日

ReportEventA 错误 ERROR_CRC

摘要: 如果 level 的宏弄错了,就会出现这种奇怪的现象。 阅读全文

posted @ 2019-07-01 17:15 liujx2019 阅读(172) 评论(0) 推荐(0) 编辑

[Qt] Release模式下产生调试信息

摘要: 分两步,设置Qt配置文件,设置VS。 https://blog.csdn.net/itas109/article/details/83652387 F:\Qt\Qt5.7.1\5.7\msvc2015_64\mkspecs\common\msvc-desktop.conf https://blog. 阅读全文

posted @ 2019-07-01 10:08 liujx2019 阅读(2499) 评论(0) 推荐(0) 编辑

2019年6月20日

Querying for Event Information

摘要: https://docs.microsoft.com/zh-cn/windows/desktop/EventLog/querying-for-event-source-messages 阅读全文

posted @ 2019-06-20 13:23 liujx2019 阅读(141) 评论(0) 推荐(0) 编辑

2019年6月19日

通过注册表查询 .Net Framework 的版本

摘要: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full 注意:即使卸载 .Net Framework 这些注册表依然在。 所以,这种方法只能知道曾经装过哪些版本。却不能确保这些版本都还在,没被卸载。 https:// 阅读全文

posted @ 2019-06-19 10:49 liujx2019 阅读(1040) 评论(0) 推荐(0) 编辑

2019年6月18日

[Batch脚本] if else 的格式

摘要: 必须写成一行 ) else (,否则报错。 阅读全文

posted @ 2019-06-18 17:18 liujx2019 阅读(690) 评论(0) 推荐(0) 编辑

[Inno Setup] 卸载 重启之后 删除文件

摘要: 某些系统文件,例如驱动,不重启无法删除。 利用windows注册表里的 RunOnce。注意必须在HKLM下,否则可能权限不够。 不能直接填cmd命令,要以cmd的参数形式填写。 阅读全文

posted @ 2019-06-18 17:14 liujx2019 阅读(772) 评论(0) 推荐(0) 编辑

2019年6月13日

Inno Setup 升级时不再询问用户安装路径

摘要: UsePreviousAppDir Description: When this directive is yes, the default, at startup Setup will look in the registry to see if the same application is a 阅读全文

posted @ 2019-06-13 11:01 liujx2019 阅读(418) 评论(0) 推荐(0) 编辑

Inno Script - How to make “I Accept the Agreement” radio button on EULA page selected by Default

摘要: 出处: https://stackoverflow.com/questions/11187022/inno-script-how-to-make-i-accept-the-agreement-radio-button-on-eula-page-sel 阅读全文

posted @ 2019-06-13 10:22 liujx2019 阅读(197) 评论(0) 推荐(0) 编辑

2019年5月28日

[Qt] 去掉QMessageBox标题栏上的图标

摘要: msgBox.setWindowFlags(Qt::Drawer); 阅读全文

posted @ 2019-05-28 14:24 liujx2019 阅读(3771) 评论(0) 推荐(0) 编辑

上一页 1 ··· 26 27 28 29 30 31 32 33 34 ··· 42 下一页

导航