Page 1 of 1

[Advanced Topic] Getting started with DLL

Posted: 27 Aug 2007
by jek
What is the best and supported way to create DLL?

The MC help points to:

https://www.TS.com/support/bo ... on_sdk.pdf

for documentation on how to build extensions.

This documentation talks about tskit.dll as the way to build DLLs but only elkit.dll is located in the MC program directory.

The EL doc says that elkit.dll is "legacy".

Please advise.

Posted: 29 Aug 2007
by Marina Pashkova
You do not have to worry about that. You can create dlls using the documentation for tskit.dll and it will all be supported in MultiCharts (we made sure that there is full compatibility)

For example, ADE and Global Variable have been written this way and they are fully functional with MC.

Posted: 29 Aug 2007
by jek
Thank you.

Posted: 29 Aug 2007
by jek
Are there any special issues, techniques, or gotchas to working with threads?

Does MC work with libpthread.a ?

Posted: 30 Aug 2007
by Marina Pashkova
There are a couple of issues but they are all described in the document I referred to earlier. Apart from that, if you come across any problems you could contact us and we'd try to help you.

Posted: 30 Aug 2007
by jek
There are a couple of issues but they are all described in the document I referred to earlier. Apart from that, if you come across any problems you could contact us and we'd try to help you.

I searched the document:

https://www.TS.com/support/bo ... on_sdk.pdf

for anything with "thread" in it but found nothing.

Can you point me to the specific mention of the issues?

Thanks.

Posted: 31 Aug 2007
by Marina Pashkova
I just consulted our engineers and they told me that the document contains all the necessary information. It is not obvious but it is there. I would recommend reading and analyzing the document carefully. The information is sufficient to understand what you should pay attantion to.

Also, you could experiment creating dlls and you will see how they function and what issues are there.

Regards,

Marina