COM DLL

Q:

Can you use the Fox Pro libraries to compress files in Lianja?

A:

we use the Chilkat libraries for a number of purposes in VFP and Lianja. The integration with Lianja is particularly smooth (and described well on the Lianja site). The Zip options available are very handy in various scenarios.

A2:

The chilkat extension for Lianja is available for Windows, Linux and MacOS.
https://www.chilkatsoft.com/

There are many feature rich classes specifically built for Lianja including zip/unzip and other compression libraries.
https://www.chilkatsoft.com/refdoc/lianjaZipRef.html


 

 

Advertisements

COM & DLL

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.