JNI
Posted:
Sat May 03, 2014 12:26 am
by evsmith981
Does cobra have some facility equivalent to Java's JNI?
Re: JNI
Posted:
Sun May 04, 2014 8:51 am
by Charles
Most of the time that I'm interested in a C library, someone has already made a .NET wrapper for it and I can just use that. But if that's not the case for you, check out "p/invoke":
http://cobra-language.com/trac/cobra/wiki/DllImporthttp://stackoverflow.com/questions/4213 ... om-c-sharpIf you end up using it, feel free to help fill out the wiki page with some examples.