08 2015 档案

摘要:The build failed due to multiple definitions of one or more symbols. This error is preceded by error LNK2005. The /FORCE or /FORCE:MULTIPLE option overrides this error. 也就是"在 Project/Setting/Link/Ge... 阅读全文
posted @ 2015-08-14 11:27 elautoctrl 阅读(252) 评论(0) 推荐(0)
摘要:已经装了fcitx,之前都是可以用的,今天启动时发现无法切换出中文输入法用 Fcitx config tool查看发现输入法表里面是空的最后发现是启动时fcitx进程没自动运行,加入自动运行后重启就正常了 阅读全文
posted @ 2015-08-08 11:18 elautoctrl 阅读(1449) 评论(0) 推荐(0)
摘要:## _*_ coding:UTF-8 _*___author__ = 'shanl'import win32apiimport win32conimport win32guifrom ctypes import *import timeVK_CODE = { 'backspace':0x08, 'tab':0x09, 'clear':0x0C, 'enter':0x0D,... 阅读全文
posted @ 2015-08-08 02:57 elautoctrl 阅读(855) 评论(0) 推荐(0)
摘要:from PIL import ImageGrabim = ImageGrab.grab()im.save("f:\\T.jpg",'jpeg') 直接用pyCharm安装PIL库没成功,于是在http://www.pythonware.com/products/pil/直接下载回来安装 获取RGB数组from PIL import Imageim = Image.open('f:\\T.jpg'... 阅读全文
posted @ 2015-08-08 02:48 elautoctrl 阅读(256) 评论(0) 推荐(0)
摘要:最近在写车牌识别软件,需要用到BMP转成JPG的功能,自然就想到借助libjpeg来实现 OS: win7 64位 编译器: VS2008 1. 下载源代码下载地址:http://www.ijg.org/,选择windows format file 2. 解压源代码,修改源代码中jconfig.vc为jconfig.h 3. 添加环境变量PATH,D:\Program Files... 阅读全文
posted @ 2015-08-07 13:05 elautoctrl 阅读(609) 评论(0) 推荐(0)
摘要:apt-get install nautilus-open-terminal(鼠标右键在当前目录打开终端)这个功能不起作用时,可以按如下操作,经试验有效!nautilus -q && nautilus ~/关掉nautilus,在终端运行,查看输出的错误,如果是:x-terminal-emulato... 阅读全文
posted @ 2015-08-07 01:16 elautoctrl 阅读(1029) 评论(0) 推荐(0)
摘要:visual c++ 2008进行MySQL编程(ODBC) -- (一) 套装安装 visual c++ 2008进行MySQL编程(ODBC) --(二) CDatabase操作数据库 visual c++ 2008进行MySQL编程(ODBC) --三 查询数据库 visual c++ 2008进行MySQL编程(ODBC)-- (四) 终极实现 之 派生CRecordset 上 v... 阅读全文
posted @ 2015-08-03 17:19 elautoctrl 阅读(184) 评论(0) 推荐(0)