<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[ml232528的专栏]]></title><description><![CDATA[]]></description><link>https://blog.csdn.net/ml232528</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; ml232528]]></copyright><item><title><![CDATA[C++20 时间转本地时间，时间转字符串以及字符串转时间的方法]]></title><link>https://blog.csdn.net/ml232528/article/details/143371050</link><guid>https://blog.csdn.net/ml232528/article/details/143371050</guid><author>ml232528</author><pubDate>Wed, 30 Oct 2024 17:53:09 +0800</pubDate><description><![CDATA[c++20 本地时间 std::chrono 转换]]></description><category></category></item><item><title><![CDATA[c++中std::chrono::system_clock转年月日]]></title><link>https://blog.csdn.net/ml232528/article/details/141954353</link><guid>https://blog.csdn.net/ml232528/article/details/141954353</guid><author>ml232528</author><pubDate>Fri, 06 Sep 2024 11:03:40 +0800</pubDate><description><![CDATA[【代码】c++中std::chrono::system_clock转年月日。]]></description><category></category></item><item><title><![CDATA[Visual Studio 2022 17.5.0版本 c++ 存在太多错误，IntelliSense引擎无法正常运行]]></title><link>https://blog.csdn.net/ml232528/article/details/129259701</link><guid>https://blog.csdn.net/ml232528/article/details/129259701</guid><author>ml232528</author><pubDate>Tue, 28 Feb 2023 13:22:35 +0800</pubDate><description><![CDATA[Visual Studio IntelliSense无法使用，/Zc:preprocessor。]]></description><category></category></item><item><title><![CDATA[c# 在rgb内存中写字]]></title><link>https://blog.csdn.net/ml232528/article/details/102480496</link><guid>https://blog.csdn.net/ml232528/article/details/102480496</guid><author>ml232528</author><pubDate>Thu, 10 Oct 2019 13:54:23 +0800</pubDate><description><![CDATA[步骤1

生成和rgb内存宽高相同的bmp


 Bitmap bitmap = new Bitmap(nBmpWidth, nBmpHeight);

步骤2

拷贝rgb内存到生成的bmp中


System.Drawing.Imaging.BitmapData bitmapData
                 = bitmap.LockBits(rectangle, 
     ...]]></description><category></category></item><item><title><![CDATA[qt 控件不能自适应窗口问题]]></title><link>https://blog.csdn.net/ml232528/article/details/85773440</link><guid>https://blog.csdn.net/ml232528/article/details/85773440</guid><author>ml232528</author><pubDate>Fri, 04 Jan 2019 14:13:04 +0800</pubDate><description><![CDATA[新建的窗口增加子控件后，无法自适应窗口大小。



那么问题在哪里呢？

用记事本打开mainwindow.ui文件如下：


&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&amp;gt;
&amp;lt;ui version=&quot;4.0&quot;&amp;gt;
 &amp;lt;class&amp;gt;MainWindow&amp;lt;/class&amp;gt;
 &amp;lt;widget class]]></description><category></category></item><item><title><![CDATA[C# 使用libjpeg-turbo解压图片的代码]]></title><link>https://blog.csdn.net/ml232528/article/details/83501464</link><guid>https://blog.csdn.net/ml232528/article/details/83501464</guid><author>ml232528</author><pubDate>Mon, 29 Oct 2018 10:43:24 +0800</pubDate><description><![CDATA[1、下载：

libjpeg-turbo 下载地址 ：https://github.com/libjpeg-turbo/libjpeg-turbo

2、使用方法：

（1）tjInitDecompress 获取解压句柄

（2）tjDecompressHeader3 获取jpg图片信息

（3）分配内存以便放置图片

（4）tjDecompress2 解压图片

（5）tjDestroy 释放句...]]></description><category></category></item><item><title><![CDATA[c++ 类成员函数地址。]]></title><link>https://blog.csdn.net/ml232528/article/details/79876915</link><guid>https://blog.csdn.net/ml232528/article/details/79876915</guid><author>ml232528</author><pubDate>Tue, 10 Apr 2018 10:48:32 +0800</pubDate><description><![CDATA[类成员函数类型声明和变量定义c++ 成员函数地址声明方式和定义如下：类型声明：typedef void (MyClass::*pFunType)(); 或using pFunType2 = void (MyClass::*)();变量定义：void (MyClass::*p1)();例子：class MyClass
{
public:
	void Show(){}
};



int main()...]]></description><category></category></item><item><title><![CDATA[使用g++处理error while loading shared libraries]]></title><link>https://blog.csdn.net/ml232528/article/details/79722781</link><guid>https://blog.csdn.net/ml232528/article/details/79722781</guid><author>ml232528</author><pubDate>Wed, 28 Mar 2018 09:36:29 +0800</pubDate><description><![CDATA[编译时增加-Wl,-rpath . 动态库路径检索增加当前路径。例子：g++ -o b.out  main.cpp -L./ -lgTestClass -lgTestClass2 -Wl,-rpath .]]></description><category></category></item><item><title><![CDATA[C# 调用DLL多级指针和多维数组问题。]]></title><link>https://blog.csdn.net/ml232528/article/details/79455955</link><guid>https://blog.csdn.net/ml232528/article/details/79455955</guid><author>ml232528</author><pubDate>Tue, 06 Mar 2018 11:43:14 +0800</pubDate><description><![CDATA[1、数组和循环指针C语言接口：结构体中含本身的指针myApi_sIp *pNext;#pragma once

#ifndef _DLL_API
#ifdef DLL_EXPORTS  
#define _DLL_API _declspec(dllexport)  
#else  
#define _DLL_API _declspec(dllimport)  
#endif  
#endif /...]]></description><category></category></item><item><title><![CDATA[wpf绑定]]></title><link>https://blog.csdn.net/ml232528/article/details/79150120</link><guid>https://blog.csdn.net/ml232528/article/details/79150120</guid><author>ml232528</author><pubDate>Wed, 24 Jan 2018 14:15:59 +0800</pubDate><description><![CDATA[1、新手比较容易犯的错误
新手为了简单按照网上的说法直接这样

 



public partial class MainWindow : Window
 {
     string LinkString {
            get ;
            set ;
        }
       public MainWindow()
        {
    ]]></description><category></category></item><item><title><![CDATA[录音测试代码]]></title><link>https://blog.csdn.net/ml232528/article/details/71077403</link><guid>https://blog.csdn.net/ml232528/article/details/71077403</guid><author>ml232528</author><pubDate>Tue, 02 May 2017 09:20:19 +0800</pubDate><description><![CDATA[#include "stdafx.h"
#include "AudioAllGather.h"
#include 
#pragma comment(lib,"Winmm.lib")


CAudioAllGather::CAudioAllGather()
{
}


CAudioAllGather::~CAudioAllGather()
{
	Free();
}

bool CAudioAllGa]]></description><category></category></item><item><title><![CDATA[gb2312和utf8相互转换：]]></title><link>https://blog.csdn.net/ml232528/article/details/55101778</link><guid>https://blog.csdn.net/ml232528/article/details/55101778</guid><author>ml232528</author><pubDate>Tue, 14 Feb 2017 16:58:27 +0800</pubDate><description><![CDATA[c++11 好像用u8来表示utf-8，然后还有一大套转换函数 u16string，char16_t。std::codecvt_utf8 std::codecvt_utf16 std::codecvt_utf8_utf16 wstring_convert。

然后还有utf-8常亮字符串
std::string str2 = u8"你好啊";



gb2312和utf8相互转换：]]></description><category></category></item><item><title><![CDATA[udp客户端和服务器代码，支持ipv6。]]></title><link>https://blog.csdn.net/ml232528/article/details/52524639</link><guid>https://blog.csdn.net/ml232528/article/details/52524639</guid><author>ml232528</author><pubDate>Tue, 13 Sep 2016 12:01:05 +0800</pubDate><description><![CDATA[getaddrinfo这个函数隐藏了ipv4和ipv6的具体细节，强烈推荐使用。设置hints.ai_family = AF_UNSPEC后，getaddrinfo可以根据ip地址自动判断是ipv4还是ipv6。当然也可以使用hints.ai_family = AF_INET6直接指定为ipv6。



服务器代码：
#include "stdafx.h"
#include 
#incl]]></description><category></category></item><item><title><![CDATA[ORACLE连接服务器失败，无法使用oci连接其它电脑的 ORACLE服务器等，oci 接口c++封装。]]></title><link>https://blog.csdn.net/ml232528/article/details/52413152</link><guid>https://blog.csdn.net/ml232528/article/details/52413152</guid><author>ml232528</author><pubDate>Fri, 02 Sep 2016 13:33:21 +0800</pubDate><description><![CDATA[1、本地连接服务失败
不能使用sys这个用户连接服务器。请使用其它用户连接服务器。
2、其它电脑连接服务失败。
将主机名修改为0.0.0.0重启服务就行了（重启服务命令Lsnrctl stop->Lsnrctl
 start）。


3、OCIServerAttach 连接服务失败问题：
错误代码：ORA-12504: TNS:listener was not given the]]></description><category></category></item><item><title><![CDATA[Api函数钩子]]></title><link>https://blog.csdn.net/ml232528/article/details/51984684</link><guid>https://blog.csdn.net/ml232528/article/details/51984684</guid><author>ml232528</author><pubDate>Thu, 21 Jul 2016 17:16:52 +0800</pubDate><description><![CDATA[windows 下，api钩子目前比较稳定和健壮的方法。
1、读取pe 文件：ImageDirectoryEntryToData
2、找到函数表中的 函数地址
(PROC *)&pThunk->u1.Function;

3、替换函数地址
WriteProcessMemory(GetCurrentProcess(), ppfn, &pfnNew, sizeof(pfnNew), nul]]></description><category></category></item><item><title><![CDATA[日志库选择]]></title><link>https://blog.csdn.net/ml232528/article/details/51145227</link><guid>https://blog.csdn.net/ml232528/article/details/51145227</guid><author>ml232528</author><pubDate>Wed, 13 Apr 2016 17:29:33 +0800</pubDate><description><![CDATA[到2016年4月13号发现这两个库，还在维护。
log4cplus glog]]></description><category></category></item><item><title><![CDATA[c++11中condition_variable信号量的标准用法。]]></title><link>https://blog.csdn.net/ml232528/article/details/50204611</link><guid>https://blog.csdn.net/ml232528/article/details/50204611</guid><author>ml232528</author><pubDate>Mon, 07 Dec 2015 13:24:05 +0800</pubDate><description><![CDATA[目标：主线程向其它线程发生消息，其它线程收到消息并处理。
伪代码目标：主线程将消息加入listTemp链表，使用condition_variable的notify_one通知线程，其它线程将消息处理，并将消息加入到已处理listTemp2链表中。
 伪代码#include 
#include 
#include 
#include 
#include 
#include 


int main]]></description><category></category></item><item><title><![CDATA[boost 中 property_tree添加和修改节点属性]]></title><link>https://blog.csdn.net/ml232528/article/details/9193789</link><guid>https://blog.csdn.net/ml232528/article/details/9193789</guid><author>ml232528</author><pubDate>Fri, 28 Jun 2013 09:36:58 +0800</pubDate><description><![CDATA[ptree pt;
pt.put("p1..value",3.14"); //添加属性

pt.get_child("pi..value").put_value(3.1415926);//修改属性]]></description><category></category></item><item><title><![CDATA[boost中asio网络库多线程并发处理实现，以及asio在多线程模型中线程的调度情况和线程安全。]]></title><link>https://blog.csdn.net/ml232528/article/details/8710927</link><guid>https://blog.csdn.net/ml232528/article/details/8710927</guid><author>ml232528</author><pubDate>Sat, 23 Mar 2013 21:23:36 +0800</pubDate><description><![CDATA[1、实现多线程方法：
其实就是多个线程同时调用io_service::run
        for (int i = 0; i != m_nThreads; ++i)
        {
            boost::shared_ptr pTh(new boost::thread(
                boost::bind(&boost::asio::io_se]]></description><category></category></item></channel></rss>