大约有 2,000 项符合查询结果(耗时:0.0056秒) [XML]

https://www.tsingfun.com/it/cpp/1590.html 

MFC采用双缓存解决闪屏问题(使用了双缓存还是闪屏的) - C/C++ - 清泛网 - ...

...raseBkgnd又直接返回了TRUE,仍然没有效果的: 必定是其他函数中调用了该窗口非内存DC,填充了背景。按照此思路继续追查。MFC 双缓存 闪屏
https://www.tsingfun.com/it/cpp/1616.html 

如何获取IE (控件)的所有链接(包括Frameset, iframe) - C/C++ - 清泛网 -...

...候, IHTMLWindow2::get_document 调用将返回 E_ACCESSDENIED 。 下面函数 HtmlWindowToHtmlDocument 对于跨域的frame 通过 IHTMLWindow2 -> IID_IWebBrowserApp -> IHTMLWindow2 绕过了限制。 // Converts a IHTMLWindow2 object to a IHTMLDocument2. Returns NULL in case of failure. // I...
https://www.tsingfun.com/it/cpp/1784.html 

c++ 代码调用nsis安装包实现静默安装 - C/C++ - 清泛网 - 专注C/C++及内核技术

...L, NULL, NULL, szWorking, &si, &pi ); ... 以上方法使用CreateProcess函数创建一个进程并启动安装包静默安装,/D指定默认安装位置(没有引号,否则不生效),优先级最高。 不过当遇到需要提示权限的情况(需要以管理员身份运行),Cr...
https://www.tsingfun.com/it/cpp/1823.html 

Linux automake动编译全攻略 - C/C++ - 清泛网 - 专注C/C++及内核技术

...文件calc.h: #include <stdio.h> int add(int a, int b); lib目录函数实现calc.c: #include "calc.h" int add(int a, int b) { return a + b; } 主目录下测试代码test.c: #include <stdio.h> #include "lib/calc.h" int main(int argc, char** argv) { ...
https://www.tsingfun.com/it/cpp/1908.html 

如何利用VS定位程序崩溃的源码行 - C/C++ - 清泛网 - 专注C/C++及内核技术

... (注:没有源码,但有pdb文件的话,堆栈中会有崩溃的函数、源码行号等信息,也可辅助调查) 1354VS 定位 程序崩溃 源码行
https://www.tsingfun.com/it/cpp/1947.html 

进程间通信(IPC)的几种方式 - C/C++ - 清泛网 - 专注C/C++及内核技术

...管道的使用方法与文件类似,都能使用read,write,open等普通IO函数. 管道描述符来类似于文件描述符. 事实上, 管道使用的描述符, 文件指针和文件描述符最终都会转化成系统中SOCKET描述符. 都受到系统内核中SOCKET描述符的限制. 本质上...
https://www.tsingfun.com/it/cpp/2098.html 

...VC\\INCLUDE\\iterator(93) : error C2039: “push_front”: 不是“std...

...nt操作。因此,解决的方法就是使用back_inserter 或者inserter函数返回的插入迭代器来进行操作。 error C2039 push_front
https://www.tsingfun.com/it/cpp/2112.html 

MFC 获取并移动其他应用程序窗口的方法 - C/C++ - 清泛网 - 专注C/C++及内核技术

...w name,子窗口标题 ); 2、WindowFromPoint:利用WindowFromPoint函数得到指定坐标点所在的窗口句柄,这种方法不依赖窗口信息。 void CDlgSpy::OnMouseMove(UINT nFlags, CPoint point) { POINT pnt; ::GetCursorPos(&pnt); HWND hwndCur = ::WindowFromPoint(pnt)...
https://www.tsingfun.com/it/cpp/2161.html 

socket网络编程中read与recv区别 - C/C++ - 清泛网 - 专注C/C++及内核技术

...性能会比直接read 进行循环读要好一些。 2、read 与 recv函数调用 read(sockfd, buff, buff_size); write(sockfd, buff, buff_size); recv(sockfd, buff, buff_size,MSG_WAITALL); //阻塞模式接收 send(scokfd, buff, buff_size,MSG_...
https://www.tsingfun.com/it/cpp/2165.html 

Gdiplus::Bitmap::LockBits \"Invalid Parameter\" - C/C++ - 清泛网 - 专注C/C++及内核技术

...致的。 解决方法:使用GDI CBitmap或使用正确的字符转换函数。GDI+,Gdiplus,Bitmap,LockBits,Invalid Parameter