- 博客(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
510
原创 自定义QSpinBox与QDoubleSpinBox如何禁用上箭头或下箭头
类放的位置自行定义,能用得到就行public ://当数据到达边界时,触发禁用,默认是返回的false,此处返回true } return QProxyStyle : : styleHint(stylehint , opt , widget , returnData);} };
2023-06-30 21:22:35
1111
原创 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
403
原创 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
497
原创 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
1430
原创 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
1257
原创 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
180
原创 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
254
原创 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
1244
原创 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
538
原创 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
1328
原创 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
1103
原创 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
483
原创 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
791
原创 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
877
原创 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
1095
原创 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
1128
原创 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
628
原创 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
293
原创 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
562
原创 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
962
原创 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
372
原创 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
726
原创 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
872
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
1439
MFC 如何在一个进程中打开另外一个进程的模态对话框
2021-05-13
同样单字符和宽字符转换的的C++代码,VC下正常,QT下异常
2021-02-26
0xC00001A5: 检测到无效的异常处理程序例程。
2019-06-20
VS2008 MFC DEBUG 编译通过,F5运行,界面出不来是什么原因
2018-07-09
VS2008DEBUG运行MFC程序出现的一个问题,求解答
2018-05-16
关于VC编码转换的一个测试错误
2016-12-24
C#中调用SQLite数据库 BUG
2016-11-24
找不到或无法加载已注册的 .Net Framework Data Provider
2016-11-24
VS2010开发C#的程序,换在新环境下无法运行
2016-11-21
TA创建的收藏夹 TA关注的收藏夹
TA关注的人