08 2022 档案

将VMware虚拟机的启动时间设置为固定值
摘要:转载 将VMWare中的虚拟机时间设定在一个固定值 - ParamousGIS - 博客园 (cnblogs.com) 操作步骤 关闭虚拟机。 用记事本打开虚拟机的.vmx文件,在末尾添加添加: tools.syncTime = "FALSE" time.synchronize.continue = 阅读全文

posted @ 2022-08-31 09:58 OctoberKey 阅读(2978) 评论(0) 推荐(0)

Qt设置背景颜色,QLabel,QWidget……
摘要:void setBackground(QWidget* widget, const QBrush& brush) { QPalette palette(widget->palette()); palette.setBrush(QPalette::Background, brush); widget- 阅读全文

posted @ 2022-08-26 13:19 OctoberKey 阅读(362) 评论(0) 推荐(0)

VSC设置字体
摘要:![image](https://img2022.cnblogs.com/blog/1632796/202208/1632796-20220822160439369-164108371.png) 阅读全文

posted @ 2022-08-22 16:05 OctoberKey 阅读(45) 评论(0) 推荐(0)

获取ACCESS mdb文件版本
摘要:Access2000和Access2003生成的mdb文件如何区别? 把下面脚本复制到记事本里,再保存为**GetMdbVer.vbs**,运行后可以获得mdb文件的版本。 Set objAccess = CreateObject("Access.Application") objAccess.Op 阅读全文

posted @ 2022-08-16 10:48 OctoberKey 阅读(422) 评论(0) 推荐(0)

error C2467: 非法的匿名“struct”声明 —— 解决方法
摘要:问题 包含windows.h文件后,出现这个错误: error C2467: 非法的匿名“struct”声明 具体是这里的问题: // winnt.h ... // Control Flags union { DWORD ControlFlags; struct { DWORD OptimizedS 阅读全文

posted @ 2022-08-12 10:39 OctoberKey 阅读(524) 评论(0) 推荐(0)

error C2813: #import 不支持 /MP —— 解决方法
摘要:问题 用import引入msado15.dll和msadox.dll时,出现以下错误: error C2813: #import 不支持 /MP 解决方法 去**配置属性->C/C++->常规里,设置多处理器编译选型为否**。 可以在整个项目里设置,也可以设置单个cpp文件。 参考 编译器错误 C2 阅读全文

posted @ 2022-08-12 10:28 OctoberKey 阅读(974) 评论(0) 推荐(0)

QtnProperty代码编译
摘要:代码地址 GitHub:QtnProperty 编译环境 IDE: Microsoft Visual Studio Community 2019, 16.11.15 Qt: 5.12.5_msvc2017, 32bit OS: Windows 10 家庭版,21H2 Qt Visual Studio 阅读全文

posted @ 2022-08-04 14:45 OctoberKey 阅读(526) 评论(0) 推荐(0)

QtExtra代码编译
摘要:代码地址 GitHub:QtExtra 编译环境 IDE: Microsoft Visual Studio Community 2019, 16.11.15 Qt: 5.12.5_msvc2017, 32bit OS: Windows 10 家庭版,21H2 Qt Visual Studio Too 阅读全文

posted @ 2022-08-04 13:09 OctoberKey 阅读(78) 评论(0) 推荐(0)

STL学习(1)——std::equal_to
摘要:说明 std::equal_to 作用 用于比较两个对象或两个值,它能像函数一样被调用,因此可以把它当作参数进行传递。运算符“==”是无法像参数一样被传递的。 用法 可以直接对c++原生类型进行比较,也可以对自定义类型进行比较,自定义类型需要重载“==”运算符。 示例 // equal_to exa 阅读全文

posted @ 2022-08-03 16:53 OctoberKey 阅读(912) 评论(0) 推荐(0)

导航