![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
LUA
alga_1
这个作者很懒,什么都没留下…
展开
-
20130128-LUACOM-IDL-VBS
LUA很好用,在Windows下COM是老大,如果能结合它们的功能,那会是比较酷的。LuaCOM库(目前版本1.4)非常好的扮演了这个牵线搭桥的角色,本文不讨论Luacom的各项功能,大家可下载LuaCOM User Manual手册作全面的了解。这面只是举一个HelloWorld的例子,以及在实现这个例子过程的一点教训。网上关于这方面的详细例子不多(也可能是本人的搜索方法不是很对),基本上找不着原创 2013-01-28 11:59:16 · 1525 阅读 · 0 评论 -
20140218-lua binder另一只轮子的雏形(2014-01-02 20:08)
书接上一回,继续补充xlb的功能。这次修改代码的代码比添加功能的代码还多,完成后大致包括 添加了支持overload和override函数绑定,支持绑定属性;添加了构造函数绑定,释构函数绑定前面已经实现了,这次是把名字修改了;修改函数参数提取过程,支持非一对一提取,即是一个函数形参可以从lua_State中提取N个参数(0添加绑定函数执行过程错误提示;xlb变成单个头文件的形式;原创 2014-02-18 19:20:19 · 1385 阅读 · 0 评论 -
20140110orange.cpp
#define WINVER 0x0502 // using compiler option /MD must define _AFXDLL //#define _AFXDLL #include "afxinet.h" #include "lm.h" #include "strsafe.h" //StringCchPrintf extern "C" { #i原创 2014-01-10 18:18:03 · 1053 阅读 · 0 评论 -
20140102-lua binder另一只轮子的雏形
lua binder另一只轮子的雏形(第三篇,自定义的支持)原创 2014-01-02 20:08:27 · 1319 阅读 · 0 评论 -
20131104-excel 枚举常量
XlHighlightChangesTime table: 00C7DE58 xlAllChanges 2 xlSinceMyLastSave 1 xlNotYetReviewed 3 XlErrorBarInclude table: 00C8CFD0 xlErrorBarIncludeBoth 1 xlErrorBarIncludeNone -4142 xlErro原创 2013-11-04 14:24:15 · 1873 阅读 · 0 评论 -
20130721-lua binder另一只轮子的雏形
利用c++11新特性来实现一个lua binder,这一次比上次写的超级雏形要完善一些,基本上可以在练习时使用了,要真正投入到项目中,还得继续丰富对类型的处理和调整,待下一篇再写。原创 2013-07-21 17:51:46 · 1170 阅读 · 0 评论 -
20130216-LUACOM-WMI-001
package.cpath=os.getenv("systemroot") .. [[\system32\?.dll]]; require "luacom" firstrun=true results="" if firstrun then WMI = luacom.CreateObject("WbemScripting.SWbemLocator") Services原创 2013-02-16 18:58:06 · 876 阅读 · 0 评论 -
20130216-LUACOM-WMI-002
CPU温度,可能会有某些系统不支持(?) package.cpath=os.getenv("systemroot") .. [[\system32\?.dll]]; require "luacom" function Escape(v) if v == nil then return ""; end if (type(v) == "table") then return T原创 2013-02-16 18:56:44 · 736 阅读 · 0 评论 -
20190812-lua binder另一只轮子xlb
xlb 目前只测试了绑定部分Windows API函数 下一步搞定几个smart pointer原创 2019-08-12 17:31:00 · 162 阅读 · 0 评论