自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(25)
  • 资源 (1)
  • 问答 (10)
  • 收藏
  • 关注

原创 QT Critical error detected c0000374

但是SVN 版本10001 时,Debug正常,Release异常,只要检查 10001版本提交的代码 是否存在。比如SVN 版本10000 时, Debug 和 Release 都正常。由于公司采用了SVN进行代码管理,此处使用代码回退,查找问题代码点。此问题比较隐晦,不好解决,大家一定要注意平时的代码质量。的 情况,解决对应的问题 即可。2. 函数没有添加返回值。

2024-01-06 15:47:38 394

原创 自定义QSpinBox与QDoubleSpinBox如何禁用上箭头或下箭头

类放的位置自行定义,能用得到就行public ://当数据到达边界时,触发禁用,默认是返回的false,此处返回true } return QProxyStyle : : styleHint(stylehint , opt , widget , returnData);} };

2023-06-30 21:22:35 815

原创 MFC 试图执行的操作不受支持 【记录贴】

触发代码为···HWND CDataExchange::PrepareCtrl(int nIDC){ASSERT(nIDC != 0);ASSERT(nIDC != -1); // not allowedHWND hWndCtrl;COleControlSite* pSite = NULL;m_pDlgWnd->GetDlgItem(nIDC, &hWndCtrl);if (hWndCtrl == NULL){// Could be a windowless OCXpS

2021-05-08 10:45:28 376

原创 MFC WaitForMultipleObjects 函数

WaitForMultipleObjects 函数SyntaxParametersReturn ValueRemarksWaits until one or all of the specified objects are in the signaled state or the time-out interval elapses.【等待,直到一个或所有指定的对象处于信号状态或超时间隔结束。】To enter an alertable wait state, use the WaitForMultipl

2021-04-06 11:51:18 431

原创 MFC WaitForSingleObject函数

WaitForSingleObject 函数SyntaxParametersReturn ValueRemarksWaits until the specified object is in the signaled state or the time-out interval elapses.【等待,直到指定的对象处于信号状态或超时间隔结束。】To enter an alertable wait state, use the WaitForSingleObjectEx function. To wa

2021-03-29 11:34:12 1258

原创 MFC CBitmap::CreateBitmap()

CBitmap::CreateBitmapSyntaxParametersReturn ValueRemarks心得体会Initializes a device-dependent memory bitmap that has the specified width, height, and bit pattern. 【初始化具有指定宽度、高度和位模式的设备相关内存位图。】回到 CBitmap ClassSyntaxBOOL CreateBitmap( int nWidth, int n

2021-03-24 18:49:04 1099

原创 MFC CBitmap::CBitmap()

CBitmap::CBitmapSyntaxRemarksConstructs a CBitmap object. 【构造CBitmap对象。】SyntaxCBitmap( );RemarksThe resulting object must be initialized with one of the initialization member functions. 【结果对象必须用其中一个初始化成员函数初始化。】...

2021-03-24 18:38:44 139

原创 MFC CBitmap Class

CBitmap 类Base Class Members(基类成员)Construction(构造)Initialization(初始化)Attributes(属性)Operations(操作)心得体会To use a CBitmap object, construct the object, attach a bitmap handle to it with one of the initialization member functions, and then call the object’s mem

2021-03-24 18:35:14 218

原创 MFC System Error Codes (12000-15999)

System Error Codes 12000-15999The following table provides a list of system error codes (errors 12000 to 15999). These values are defined in the WinError.h header file. They are returned by the GetLastError function when many functions fail. To retrieve t

2021-03-24 11:09:39 1116

原创 MFC System Error Codes (9000-11999)

System Error Codes 9000-11999The following table provides a list of system error codes (errors 9000 to 11999). These values are defined in the WinError.h header file. They are returned by the GetLastError function when many functions fail. To retrieve the

2021-03-24 11:00:22 481

原创 MFC System Error Codes (8200-8999)

System Error Codes 8200-8999The table in this topic provides a list of system error codes for errors 8200 to 8999. These values are defined in the WinError.h header file. They are returned by the GetLastError function when many functions fail. To retrieve

2021-03-24 10:54:05 852

原创 MFC System Error Codes (6000-8199)

System Error Codes 6000-8199The following table provides a list of system error codes (errors 6000 to 8199). These values are defined in the WinError.h header file. They are returned by the GetLastError function when many functions fail. To retrieve the d

2021-03-24 10:44:12 948

原创 MFC System Error Codes (4000-5999)

System Error Codes 4000-5999The table in this topic provides a list of system error codes for errors 4000 to 5999. These values are defined in the WinError.h header file. They are returned by the GetLastError function when many functions fail. To retrieve

2021-03-24 10:13:32 429

原创 MFC System Error Codes (1700-3999)

System Error Codes 1700-3999The table in this topic provides a list of system error codes for errors 1700 to 3999. These values are defined in the WinError.h header file. They are returned by the GetLastError function when many functions fail. To retrieve

2021-03-24 09:40:26 720

原创 MFC System Error Codes (1300-1699)

System Error Codes 1300-1699The table in this topic provides a list of system error codes for errors 1300 to 1699. These values are defined in the WinError.h header file. They are returned by the GetLastError function when many functions fail. To retrieve

2021-03-24 09:30:27 814

原创 MFC System Error Codes (1000-1299)

System Error Codes 1000-1299The table in this topic provides a list of system error codes for errors 1000 to 1299. These values are defined in the WinError.h header file. They are returned by the GetLastError function when many functions fail. To retrieve

2021-03-23 10:55:07 993

原创 MFC System Error Codes (500-999)

System Error Codes 500-999The following table provides a list of system error codes (errors 500 to 999). These values are defined in the WinError.h header file. They are returned by the GetLastError function when many functions fail. To retrieve the descr

2021-03-23 10:10:11 1026

原创 MFC System Error Codes (0-499)

System Error Codes 0-499The following table provides a list of system error codes (errors 0 to 499). They are returned by the GetLastError function when many functions fail. To retrieve the description text for the error in your application, use the Forma

2021-03-22 09:44:13 544

原创 MFC System Error Codes 系统错误代码

The following topics provide lists of system error codes. These values are defined in the WinError.h header file.【以下主题提供系统错误代码列表。这些值在WinError.h头文件中定义。】System Error Codes (0-499) System Error Codes (500-999) System Error Codes (1000-1299) System Error C

2021-03-22 09:18:53 212

原创 MFC GetLastError 函数

GetLastErrorSyntax(语法)Parameters(参数)Return Value(返回值)Remarks(备注)作者的话(敬请期待)Retrieves the calling thread’s last-error code value. The last-error code is maintained on a per-thread basis. Multiple threads do not overwrite each other’s last-error code.【检索调用线程

2021-03-22 09:17:16 446

原创 MFC SetWindowLong 函数

SetWindowLongThe SetWindowLong function changes an attribute of the specified window. The function also sets the 32-bit (long) value at the specified offset into the extra window memory.SetWindowLong函数更改指定窗口的一项属性。该函数还可将指定偏移的32位值设置到附加的窗口内存中。Note This fun

2021-03-20 16:44:24 894

原创 MFC BLENDFUNCTION 结构体

BLENDFUNCTIONThe BLENDFUNCTION structure controls blending by specifying the blending functions for source and destination bitmaps.BLENDFUNCTION结构通过为源位图和目标位图指定混合函数来控制混合。typedef struct _BLENDFUNCTION { BYTE BlendOp; BYTE BlendFlags; BYTE

2021-03-19 14:07:41 333

原创 MFC AlphaBlend 函数

AlphaBlendParameter(参数)Return Values(返回值)Remarks(备注)The AlphaBlend function displays bitmaps that have transparent or semitransparent pixels.AlphaBlend函数显示拥有透明或半透明像素点的位图。BOOL AlphaBlend( HDC hdcDest, // handle to destination DC(目标DC的

2021-03-19 10:41:02 654

原创 MSDN帮助文档安装失败解决方案

笔者使用的是VS2008 SP1,想在VS中按F1打开帮助文档查询函数时发现并未安装MSDN离线包,在官网上找到了MSDN包:https://download.microsoft.com/download/F/D/E/FDE79687-B716-4893-9BE3-1512F40388B1/CHSMSDNX1530343.ISO安装后,中文提示:安装程序检测到的HTML帮助数据文件已损坏,无法继续英文提示:...

2021-03-15 14:24:22 817 5

原创 64Windows系统下,在控制台下,使用微软cl编译器的前提设置

因为是工作电脑,安装的是VS2008,本机系统为64位,花了点时间了解了一会如何绕过IDE,直接使用cl编译c/c++文件1.如果没有事先做过相关的配置,win+R+回车 打开cmd界面,输入cl回车,会出现如下界面2.开始进行配置:首先复制cl.exe所在的路径:C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin 一

2017-09-22 16:07:27 1395

WINDOWS 进程间通信 COPYDATA 一个小例子

使用WM_COPYDATA,完成进程间通信 Demo代码运行环境:WIN10,VS2008。

2021-04-26

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除