上一页 1 ··· 8 9 10 11 12
摘要: 参考资料说明 SuperSocket文档 http://docs.supersocket.net/ Protobuf语言参考 https://developers.google.com/protocol-buffers/docs/proto 单消息多类型解决方案 https://developers 阅读全文
posted @ 2017-11-27 18:55 非法关键字 阅读(5976) 评论(6) 推荐(0) 编辑
摘要: 第一个测试的proto文件 第二个测试proto文件 分别生成C#源文件 例子程序 程序执行结果 阅读全文
posted @ 2017-11-27 02:19 非法关键字 阅读(2809) 评论(3) 推荐(0) 编辑
摘要: 因为动态连接库需要对DBT_DEVICEARRIVAL、DBT_DEVICEREMOVECOMPLETE等消息的处理,所以拿一个不太理想的Hid的动态库片段来说明,说明部分其它代码有不严格的地方,功能性实测末尾有实测的代码片段,不多说直接上代码! 1 // 下列 ifdef 块是创建使从 DLL 导 阅读全文
posted @ 2017-11-16 03:40 非法关键字 阅读(554) 评论(0) 推荐(0) 编辑
摘要: 因为近段时间接触Hid相对来说多一些,由此忽略了串口中获取cbInQue这个重要的东西,下面是错误代码 1 // Win32SerialPortLib.cpp : 定义 DLL 应用程序的导出函数。 2 // 3 4 #include "stdafx.h" 5 #include "Win32Seri 阅读全文
posted @ 2017-11-16 00:13 非法关键字 阅读(497) 评论(0) 推荐(0) 编辑
摘要: 下面的改写让泛型单例支持使用Private的构造函数,这样做更严谨: 阅读全文
posted @ 2017-11-12 11:21 非法关键字 阅读(687) 评论(0) 推荐(0) 编辑
摘要: 通过Clip名称更改动画片段 通过Animation名称指定Animator的Library 阅读全文
posted @ 2017-11-07 23:34 非法关键字 阅读(282) 评论(0) 推荐(0) 编辑
摘要: Thread Ninja说明: Thread Ninja - Multithread Coroutine Requires Unity 3.4.0 or higher. A simple script helps you write multithread coroutines. Unity's c 阅读全文
posted @ 2017-11-03 22:19 非法关键字 阅读(679) 评论(0) 推荐(0) 编辑
摘要: 需要使用的插件库说明: Loxodon Framework Log4NetVersion: 1.0.0© 2016, Clark Yang Thank you for purchasing the plugin!I hope you enjoy using the product and that 阅读全文
posted @ 2017-11-03 16:19 非法关键字 阅读(1350) 评论(0) 推荐(0) 编辑
摘要: 数量使用的不太多,没有实现对象池. Smart Timers Manager 阅读全文
posted @ 2017-11-01 22:59 非法关键字 阅读(654) 评论(0) 推荐(0) 编辑
摘要: 因为音乐U盘长期使用,保留住一些喜欢的歌,后续会下载更新一些,慢慢就对歌曲进行了分类放入不同的文件夹,这样就会很容易弄一些重复的歌曲,下面写的一段python小程序找出重复的歌曲. 得到的结果信息: 阅读全文
posted @ 2017-09-13 21:40 非法关键字 阅读(1057) 评论(0) 推荐(0) 编辑
摘要: 修改Zenject下ProfileBlock.cs源码, 取消有关UnityEngine.Profiling.Profiler的代码. 然后使用Zenject的Signal: // 定义Signal public class TestCrossThreadCommEvent : Signal<str 阅读全文
posted @ 2017-09-10 13:43 非法关键字 阅读(1401) 评论(0) 推荐(0) 编辑
摘要: 功能 分辨率的批量转换,文件夹递归查找 像素偏移量批量调整,文件夹单层查找 画布的大小的批量进行调整,不进行缩放,文件夹单层查找 界面 通过PyUIC生成的代码 1 # -*- coding: utf-8 -*- 2 3 # Form implementation generated from re 阅读全文
posted @ 2017-09-10 13:29 非法关键字 阅读(1047) 评论(0) 推荐(0) 编辑
摘要: 1 例子1: 2 3 public class MyClass 4 { 5 public MyClass() 6 { 7 DisplayValue(); //这里不会阻塞 8 System.Diagnostics.Debug.WriteLine("MyClass() End."); 9 } 10 ... 阅读全文
posted @ 2017-09-10 13:15 非法关键字 阅读(634) 评论(0) 推荐(0) 编辑
摘要: 相关连接: Python PyQt 安装python3.4 x64到c盘根目录. 安装PyQt5-5.5.1-gpl-Py3.4-Qt5.5.1-x64.exe 安装pycharm-professional-2017.2.1此为收费版,需要购买,可以在jetbrains.com官网下载社区免费版. 阅读全文
posted @ 2017-09-10 13:04 非法关键字 阅读(362) 评论(0) 推荐(0) 编辑
摘要: a.命令行版本:https://gist.github.com/jbevain/ba23149da8369e4a966f#file-pdb2mdb-exe b.GUI版本:https://github.com/shravan2x/Pdb2Mdb-GUI 阅读全文
posted @ 2017-09-10 12:58 非法关键字 阅读(418) 评论(0) 推荐(0) 编辑
上一页 1 ··· 8 9 10 11 12