objeck / objeck-lang

Objeck is a modern object-oriented programming language with functional features tailored for machine learning. It emphasizes expression, simplicity, portability, and scalability. The programming environment consists of a compiler, virtual machine, REPL shell, and command line debugger with IDE plugins.
https://objeck.org
Other
154 stars 11 forks source link

Call arbitrary DLL using System.API.DllProxy #457

Closed ghost closed 7 months ago

ghost commented 7 months ago

Is it possible? This is not a feature request. It's only a question.

From the description of DllProxy class:

Class allow programmers to load native shared libraries that can be called by Objeck classes. Programmers can call native C functions within these libraries.

In nowhere it said that the shared libraries must be wrapped to Objeck-style plugin (libobjk_something) to be able to be used. So I can think that this class is possible to call arbitrary DLL. If it's not the case, please edit the document to make it clear.

objeck commented 7 months ago

Documentation updated