-
Notifications
You must be signed in to change notification settings - Fork 122
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
export wrapped c++ class in one .node but the Implements of c++ classes are from multiple dlls #109
Comments
#include <node.h> #include "alarmFieldOper.h" #include "ipmanageOper.h" #include "cfgsvrRegister.h" namespace My_SUD
} NODE_MODULE(DBOperPlusV8, My_SUD::initALL) I export all the class and function using DBOperPlusV8.node (dll) Javascript side: var SolutionOper = DBOperPlusV8.CPrjSolutionOper(); @pmed that's all help |
How to use v8pp?? |
How can I install this development environment? |
I want to export many c++ classes to node.js and I just divide these c++ classes into multiple dlls according to their function for conviniece.
But I export all of them in another dll(.node in javascript view) finally.
the function from other dll works well
but the class from other dll failed to work..
all the class has its constructor and some member function..
error is like that ,
as you see :
Error: v8pp::class_<class PHILICUBE_SUD::CPrjSolutionOper, struct v8pp::raw_ptr_traits> is not registered in isolate 000001F5E1DE14A0
the class from other dlls can not be registered but the function can
@pmed Can you help me solve it?
The text was updated successfully, but these errors were encountered: