
nodejs
qq_35728402
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
nodejs调用c++dll并返回结构类型
// cnc_resetconnect.cc #include #include #include #include namespace demo { using v8::FunctionCallbackInfo; using v8::Isolate; using v8::Local; using v8::Object; using v8::St原创 2016-08-03 14:20:25 · 3360 阅读 · 1 评论 -
nodejs调用c++dll感想
这几天折腾了几天终于搞定了,nodejs调用c++dll的问题,回想起来有一下几个难点: 1:函数参数,类型如下: unsigned short arg0 = args[0]->Uint32Value();//其他整数类型类似 args[0]->ToString() String::NewFromUtf8(isolate, “data”)//创建一个string类型原创 2016-08-03 15:16:41 · 3229 阅读 · 1 评论