随笔分类 -  我的全栈

摘要:插入图片 1 using System.IO; 2 using iTextSharp.text; 3 using iTextSharp.text.pdf; 4 5 class Program 6 { 7 static void Main(string[] args) 8 { 9 using (Str 阅读全文
posted @ 2018-09-01 21:38 dozeoo 阅读(1107) 评论(0) 推荐(0)
摘要:#include "stdafx.h" #include <iostream> #include <windows.h> #include <comdef.h> #include <exdisp.h> #include <oledlg.h> using namespace std; // Const 阅读全文
posted @ 2018-07-14 09:25 dozeoo 阅读(560) 评论(0) 推荐(0)
摘要:static char* MBSCToCEF(const char* mbcsStr) { wchar_t* wideStr; char* utf8Str; int charLen; charLen = MultiByteToWideChar(CP_UTF8, 0, mbcsStr, -1, NUL 阅读全文
posted @ 2018-07-08 11:52 dozeoo 阅读(339) 评论(0) 推荐(0)
摘要:加入了DirectShow的基类链接库后,如果此时编译就会出现以下编译错误: strmbasd.lib(wxutil.obj) : error LNK2019: 无法解析的外部符号 __imp__timeGetTime@0 strmbasd.lib(wxutil.obj) : error LNK20 阅读全文
posted @ 2018-07-02 12:10 dozeoo 阅读(2687) 评论(0) 推荐(0)
摘要:由于LibHaru库只能创建PDF,所以只能换了。 PODOFO项目的依赖项目有: FreeType2: https://sourceforge.net/projects/freetype/files/ 这个必须是2.8不能是2.9,要不然会报一堆的链接错误 Libjpeg: https://sou 阅读全文
posted @ 2018-04-26 22:20 dozeoo 阅读(3664) 评论(0) 推荐(0)
摘要:最近公司准备在PDF方面发力了,我也要行动起来,就找到了LibHaru这个开源库 编译Libharu需要用到zlib库和libpng库,libpng库又依赖zlib库. zlib 下载地址:http://www.zlib.net/ libpng下载地址:http://www.libpng.org/p 阅读全文
posted @ 2018-04-25 21:30 dozeoo 阅读(5612) 评论(2) 推荐(0)
摘要:汉王PM2.5检测模组B1,接入Arduino,使用I2C1602显示屏显示 1 #include <Arduino.h> 2 #include <Wire.h> 3 #include <LiquidCrystal_I2C.h> 4 float pm25 = 0; 5 #define DATALEN 阅读全文
posted @ 2018-03-10 12:13 dozeoo 阅读(320) 评论(0) 推荐(0)
摘要:https://developers.google.com/web/updates/2016/03/access-usb-devices-on-the-web Access USB Devices on the Web 访问USB设备通过Web By François Beaufort Dives 阅读全文
posted @ 2017-10-21 14:07 dozeoo 阅读(1337) 评论(0) 推荐(0)
摘要:Develop API Guides 连接 蓝牙 本文内容 基础知识 蓝牙权限 设置蓝牙 查找设备 查询配对的设备 发现设备 连接设备 连接为服务器 连接为客户端 管理连接 使用配置文件 供应商特定的 AT 命令 健康设备配置文件 关键类 BluetoothAdapter BluetoothDevi 阅读全文
posted @ 2017-10-17 19:47 dozeoo 阅读(2051) 评论(0) 推荐(0)
摘要:USB Host When your Android-powered device is in USB host mode, it acts as the USB host, powers the bus, and enumerates connected USB devices. USB host 阅读全文
posted @ 2017-10-16 10:34 dozeoo 阅读(1261) 评论(0) 推荐(0)
摘要:#include <stdio.h> #include <libusb-1.0/libusb.h> #include <stdint.h> #include <string.h> void processMessage(const uint8_t*); /* */ int main(int argc 阅读全文
posted @ 2017-08-13 22:31 dozeoo 阅读(3602) 评论(8) 推荐(0)
摘要:使用NFC读卡器 ACR122u 使用ACR122u Tool 软件发送spdu指令即可 一些运行结果 如上所示,银行卡的卡号,有效期,卡主姓名,身份证号,进期消费记录均可读出 2019-05-30增加: APDU list # + + + + + |ClaIns P1 P2|Lc Send Dat 阅读全文
posted @ 2016-05-17 18:41 dozeoo 阅读(8183) 评论(10) 推荐(0)