自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(13)
  • 资源 (3)
  • 收藏
  • 关注

原创 C++通过EXCEL组件复制工作表的参数问题

C++通过EXCEL组件复制工作表的参数问题

2022-12-05 20:58:53 824 1

原创 ESP32 WebServer POST消息举例

【代码】ESP32 WebServer POST消息举例。

2022-09-12 21:55:47 566

原创 Cryptopp之AES加解密

// AES加密字符串,结果转为BASE64std::string encrypt(const std::string& str_in, const std::string& key, const std::string& iv){ std::string str_out; CryptoPP::CBC_Mode<CryptoPP::AES>:...

2019-04-18 07:36:21 2827

原创 Cryptopp之Base64编解码代码

// BASE64编码std::string BytesToBase64(byte *s, unsigned int s_len){ std::string encoded; StringSource ss(s, s_len, true, new Base64Encoder(new StringSink(encoded)) ); ...

2019-04-18 07:34:44 2552

原创 C++读取硬盘物理序列号-非管理员权限

#include "stdafx.h"#include <windows.h>#include <stdio.h>int main(){ static BYTE buffer[0x1000]; WCHAR path[] = L"\\\\.\\PhysicalDrive0"; STORAGE_DEVICE_DESCRIPTOR* descr...

2019-04-07 16:46:45 2555 1

原创 C#读取硬盘物理序列号-非管理员权限

using System;using System.Collections.Generic;using System.Text;using System.Runtime.InteropServices;namespace SCBLL.Comm{ [StructLayout(LayoutKind.Sequential)] internal struct STORAGE_P...

2019-04-07 16:43:33 1072

原创 根据手机号判断营运商(EXCEL)

自己标记一个=IF(COUNT(FIND({130,131,132,145,155,156,185,186},C2)),"联通",IF(COUNT(FIND({134,135,136,137,138,139,147,150,151,152,157,158,159,182,183,184,187,188},C2)),"移动",IF(COUNT(FIND({133,153,180,181,189}

2013-06-13 16:12:47 5007 4

原创 cvCaptureFromCAM函数问题

<br />OpenCV 2.2的cvCaptureFromCAM函数不支持第二个摄像头,即调用cvCaptureFromCAM(1)不成功,晕,而OpenCV 2.0是支持的

2011-05-23 19:51:00 3836 1

原创 让opencv读取tif图象

(如转载请注明出处)花了imagesoft一个上午时间,终于改好了,问题不在libtiff,而是opencv的问题,发现问题后在网上搜了一下,找不到原因,而同样的图象在freeimage和cximage都是能打开的。都是使用libtiff,没道理呀,下载最新的libtiff,覆盖进去重新生成dll,还是不行;这也难不倒我,从freeimage提取libtiff,覆盖,编译,运行,仍然不行。我晕

2010-04-21 12:50:00 19399 2

原创 关于回调函数里的控件使用问题

    这两天在编写视频采集程序,用dspack中的samplegrabber,在OnBuffer里连续采集并处理,为了方便,直接在Edit控件里写调试信息,开始还用得很好,后来需要在每次回调都显示一个参数,结果出了问题,现象是参数显示出错(浮点数,显示为NAN) ,程序关闭时退不出,把调试信息统统注释掉就正常了,分析原因是回调函数是由线程启动,而控件不是线程安全的,如果写Edit很少的时候出错的

2007-03-20 09:30:00 1176

原创 在C++Builder下如何设置dspack的图象大小

这两天在C++Builder下测试dspack,想设置采集图象的分辨率,在网上查找了一下,没找到C++Builder如何使用,只有delphi下的代码如下:{ PinList := TPinList.Create(Filter1 as IBaseFilter);if cbFormats.ItemIndex with (PinList.First as IAMStreamConfig) doSe

2007-03-18 15:51:00 1908

原创 iPod线控协议研究

先转两个链接http://ipodlinux.org/index.php/Apple_Accessory_Protocolhttp://stud3.tuwien.ac.at/~e0026607/ipod_remote/ipod_ap.html有时间的时候再写

2006-05-17 23:42:00 2199

原创 jrtplib在vc下的编译

今天在vc下编译jrtplib,产生lib倒是很顺利,但编译example1.cpp时产生了很多错误,最后得出结论:1) Use Run-time Library的设置一定要统一。2) VC产生的workspace的debug setting,默认有个GZ选项,Catch Release-Build Errors in Debug Build,编译的时候会说error LNK2001: unres

2005-01-07 23:56:00 2305 2

ED-SDK 2.6

Canon EDSDK 2.6, support 500D...

2010-02-16

ED-SDK 2.4

Support 400D,450D,1000D......

2008-12-12

PS-ReC SDK v1.1.0e

Canon PowerShot SDK News Important Announcement: As announced earlier this year, unfortunately Canon has stopped developing an SDK for our PowerShot digital cameras, and it is being phased out during this year. We would therefore like to notify you that the FINAL SDK that we will release for our PowerShot range is now available to download from the developer programme web site. This last version is PS-Rec SDK v1.1.0e, and supports the PowerShot G10 and PowerShot SX110 IS. It will be available to download for the lifetime of the products (until these products are sold out). We are very sorry that we are no longer able to support this activity and would like to thank all developers who have supported PowerShot digital cameras within their applications. Summary SDK v1.1.0e supporting the PowerShot G9 and PowerShot SX110 IS is available to download now Development of the PowerShot (PS-Rec) SDK has now stopped Only the Digital EOS SDK (ED-SDK) will continue to be developed and supported (including Vista support) next year

2008-12-11

空空如也

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

TA关注的人

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