C/Invoke

Easily call C from any language.

Introduction

This page holds the list of languages with binding libraries shipped in the main C/Invoke source distribution; see the main page for more information on other integrations. We plan to add as many of these as we can in the near future. If you would like more information on a particular language, or if you are the author of a new programming language looking for information on integration, please contact the mailing list.

Lua

The Lua binding was the first language module written. There is separate documentation for it at the Lua Documentation page.

See The Lua Homepage for more information about Lua.

Java

The Java binding was the second language module authored by the C/Invoke developers. Its API is very easy to use due to the leveraging of Java's existing type system. There is a Javadoc Reference available for it as well as a page of examples.

You probably know what Java is by now, but just in case here's a link to Sun Microsystems' site.

Similar projects which might draw a comparison to CInvoke/Java are JNative and JNIDirect. I will leave it as an exercise to the reader to research and determine if the comparison is favorable ;).