Archive for the ‘COM & DLL’ Category

COM & DLL

Posted: 2017-01-17 in COM & DLL
Q:
Can I use DLL files like in VFP (COM integration)?
A:
COM/ActiveX is supported in the Cloud Server and Desktop on Windows.

COM & DLL

Posted: 2015-02-11 in COM & DLL
Tags:

Q:
We need to call a number of 3rd party 32 bit Windows DLLs from Lianja.
Is this easy to do?
A:
It depends on what sort of DLLs they are, standard native DLLs or managed .net DLLs. These are different altogether.
If the DLLs contain standard C functions (not .net) you should be able to use DECLARE DLL.
If these are .net managed DLLs you need to write a set of wrapper classes or functions using the Lianja C/C++ API that instantiates the .net runtime and proxies the calls passing parameters in and out.