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.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s