Reputation: 4162
I'm searching for a ccTalk library for nodejs. I only found an abandoned one.
An alternative might be to use a non javascript library like this one and compile it for nodejs https://code.google.com/archive/p/cctalk-net/
I found this for usage non js code in nodejs but I have 0 experience with converting it.
How can I use a C++ library from node.js? http://www.swig.org/Doc1.3/CSharp.html
https://github.com/tjanczuk/edge
1) Is there a library for node.js
2) How to include the above library into my nodejs app
Upvotes: 0
Views: 723
Reputation: 133
You can compile custom dll using VS from https://github.com/Hitman666/nbCcTalkCoinAcceptor
Install edge from https://github.com/tjanczuk/edge or simple npm install edge
Create sample.js file with something like:
coinAcc = edge.func({ source: function () {/* //your c# code (see Hitmans nbCcTalkCoinAcceptor_exe for example) */}, references: ['yourcctallib.dll'] });
//define port and it should pool...
Upvotes: 1