PDA

View Full Version : Mixing C and C++ code in a Lianja extension



barrymavin
2016-01-24, 05:06
The following article describes how to mix C and C++ code when you are developing a Lianja extension using the SDK.
https://isocpp.org/wiki/faq/mixing-c-and-cpp#call-cpp

hmischel@diligentsystems.com
2016-01-31, 08:50
Hi Barry,

Is it possible to use a shared DLL compiled in C only and load it via LoadLibrary()?

Thanks.

Herb

barrymavin
2016-01-31, 22:06
Hi Herb,

Yes.

loadLibrary() can used to load .js, .php, .py or .dll files.

If you SET DEBUG ON and it fails to load the appropriate error message will be written to the debug.txt file in \lianja\debug.