nodejs 调用腾讯qq 截图dll的尝试 请熟悉的大神给点意见
发布于 4个月前 作者 Einsy 575 次浏览 来自 问答

网络上流传腾讯QQ的截图动态链接库dll

我们讨论的不是rundll32.exe CameraDll.dll CameraSubArea这种执行命令的模式; 尝试使用ffi模块来引用; 尝试步骤[nodejs环境已经准备好]: 1、安装好vs2010; 2、安装ffi模块,npm install ffi一般编译成功; 3、CameraDll.dll文件放在D:\Program Files\nodejs目录; 4、编写如下代码运行,结果报错 var ffi = require(‘ffi’); var libm = new ffi.Library('D:/Program Files/nodejs/CameraDll.dll’, { 'CameraSubArea’: [ "void", []] //此函数无参数,无返回 }); libm.CameraSubArea(); 要扩大nodejs的使用范围,就必须能调用现有的代码模块dll/so等,所以需要尝试一下。 不知错误在哪里,请高手指点? @ jiyinyiyong [[[[[[[[[[[[[[[[[[[[[[[[[@leapon](/user/leapon)](/user/leapon)](/user/leapon)](/user/leapon)](/user/leapon)](/user/leapon)](/user/leapon)](/user/leapon)](/user/leapon)](/user/leapon)](/user/leapon)](/user/leapon)](/user/leapon)](/user/leapon)](/user/leapon)](/user/leapon)](/user/leapon)](/user/leapon)](/user/leapon)](/user/leapon)](/user/leapon)](/user/leapon)](/user/leapon)](/user/leapon)](/user/leapon) [[[[[[[[[[[[[[[[[[[[[[[[[[@youxiachai](/user/youxiachai)](/user/youxiachai)](/user/youxiachai)](/user/youxiachai)](/user/youxiachai)](/user/youxiachai)](/user/youxiachai)](/user/youxiachai)](/user/youxiachai)](/user/youxiachai)](/user/youxiachai)](/user/youxiachai)](/user/youxiachai)](/user/youxiachai)](/user/youxiachai)](/user/youxiachai)](/user/youxiachai)](/user/youxiachai)](/user/youxiachai)](/user/youxiachai)](/user/youxiachai)](/user/youxiachai)](/user/youxiachai)](/user/youxiachai)](/user/youxiachai)](/user/youxiachai) [[[[[[[[[[[[[[[[[[[[[[[[[[@suqian](/user/suqian)](/user/suqian)](/user/suqian)](/user/suqian)](/user/suqian)](/user/suqian)](/user/suqian)](/user/suqian)](/user/suqian)](/user/suqian)](/user/suqian)](/user/suqian)](/user/suqian)](/user/suqian)](/user/suqian)](/user/suqian)](/user/suqian)](/user/suqian)](/user/suqian)](/user/suqian)](/user/suqian)](/user/suqian)](/user/suqian)](/user/suqian)](/user/suqian)](/user/suqian) [[[[[[[[[[[[[[[[[[[[[[[[[[@leizongmin](/user/leizongmin)](/user/leizongmin)](/user/leizongmin)](/user/leizongmin)](/user/leizongmin)](/user/leizongmin)](/user/leizongmin)](/user/leizongmin)](/user/leizongmin)](/user/leizongmin)](/user/leizongmin)](/user/leizongmin)](/user/leizongmin)](/user/leizongmin)](/user/leizongmin)](/user/leizongmin)](/user/leizongmin)](/user/leizongmin)](/user/leizongmin)](/user/leizongmin)](/user/leizongmin)](/user/leizongmin)](/user/leizongmin)](/user/leizongmin)](/user/leizongmin)](/user/leizongmin) [[[[[[[[[[[[[[[[[[[[[[[[[[@a272121742](/user/a272121742)](/user/a272121742)](/user/a272121742)](/user/a272121742)](/user/a272121742)](/user/a272121742)](/user/a272121742)](/user/a272121742)](/user/a272121742)](/user/a272121742)](/user/a272121742)](/user/a272121742)](/user/a272121742)](/user/a272121742)](/user/a272121742)](/user/a272121742)](/user/a272121742)](/user/a272121742)](/user/a272121742)](/user/a272121742)](/user/a272121742)](/user/a272121742)](/user/a272121742)](/user/a272121742)](/user/a272121742)](/user/a272121742) [[[[[[[[[[[[[[[[[[[[[[[[[[@panawang](/user/panawang)](/user/panawang)](/user/panawang)](/user/panawang)](/user/panawang)](/user/panawang)](/user/panawang)](/user/panawang)](/user/panawang)](/user/panawang)](/user/panawang)](/user/panawang)](/user/panawang)](/user/panawang)](/user/panawang)](/user/panawang)](/user/panawang)](/user/panawang)](/user/panawang)](/user/panawang)](/user/panawang)](/user/panawang)](/user/panawang)](/user/panawang)](/user/panawang)](/user/panawang) [[[[[[[[[[[[[[[[[[[[[[[[[[@yakczh](/user/yakczh)](/user/yakczh)](/user/yakczh)](/user/yakczh)](/user/yakczh)](/user/yakczh)](/user/yakczh)](/user/yakczh)](/user/yakczh)](/user/yakczh)](/user/yakczh)](/user/yakczh)](/user/yakczh)](/user/yakczh)](/user/yakczh)](/user/yakczh)](/user/yakczh)](/user/yakczh)](/user/yakczh)](/user/yakczh)](/user/yakczh)](/user/yakczh)](/user/yakczh)](/user/yakczh)](/user/yakczh)](/user/yakczh) [[[[[[[[[[[[[[[[[[[[[[[[[[@JacksonTian](/user/JacksonTian)](/user/JacksonTian)](/user/JacksonTian)](/user/JacksonTian)](/user/JacksonTian)](/user/JacksonTian)](/user/JacksonTian)](/user/JacksonTian)](/user/JacksonTian)](/user/JacksonTian)](/user/JacksonTian)](/user/JacksonTian)](/user/JacksonTian)](/user/JacksonTian)](/user/JacksonTian)](/user/JacksonTian)](/user/JacksonTian)](/user/JacksonTian)](/user/JacksonTian)](/user/JacksonTian)](/user/JacksonTian)](/user/JacksonTian)](/user/JacksonTian)](/user/JacksonTian)](/user/JacksonTian)](/user/JacksonTian) [[[[[[[[[[[[[[[[[[[[[[[[[[@ngot](/user/ngot)](/user/ngot)](/user/ngot)](/user/ngot)](/user/ngot)](/user/ngot)](/user/ngot)](/user/ngot)](/user/ngot)](/user/ngot)](/user/ngot)](/user/ngot)](/user/ngot)](/user/ngot)](/user/ngot)](/user/ngot)](/user/ngot)](/user/ngot)](/user/ngot)](/user/ngot)](/user/ngot)](/user/ngot)](/user/ngot)](/user/ngot)](/user/ngot)](/user/ngot) [[[[[[[[[[[[[[[[[[[[[[[[[[@xicilion](/user/xicilion)](/user/xicilion)](/user/xicilion)](/user/xicilion)](/user/xicilion)](/user/xicilion)](/user/xicilion)](/user/xicilion)](/user/xicilion)](/user/xicilion)](/user/xicilion)](/user/xicilion)](/user/xicilion)](/user/xicilion)](/user/xicilion)](/user/xicilion)](/user/xicilion)](/user/xicilion)](/user/xicilion)](/user/xicilion)](/user/xicilion)](/user/xicilion)](/user/xicilion)](/user/xicilion)](/user/xicilion)](/user/xicilion) [[[[[[[[[[[[[[[[[[[[[[[[[[@iwinmin](/user/iwinmin)](/user/iwinmin)](/user/iwinmin)](/user/iwinmin)](/user/iwinmin)](/user/iwinmin)](/user/iwinmin)](/user/iwinmin)](/user/iwinmin)](/user/iwinmin)](/user/iwinmin)](/user/iwinmin)](/user/iwinmin)](/user/iwinmin)](/user/iwinmin)](/user/iwinmin)](/user/iwinmin)](/user/iwinmin)](/user/iwinmin)](/user/iwinmin)](/user/iwinmin)](/user/iwinmin)](/user/iwinmin)](/user/iwinmin)](/user/iwinmin)](/user/iwinmin)

参考链接1:http://www.cnblogs.com/dongzhiquan/archive/2009/06/30/1994822.html 参考链接2:http://blog.csdn.net/sjdev/article/details/1682668 参考链接3:https://cnodejs.org/topic/5413945d8895083262b77401#54179c41e84bc42d2f73afaf 下载链接:http://download.csdn.net/download/gaowen1210/654748****

回到顶部