[Advanced Topic] Getting started with DLL

Studies that have been contributed to the community by other users. If you’ve got something useful to share, that’s great!
jek
Posts: 163
Joined: 24 Dec 2006
Been thanked: 2 times

[Advanced Topic] Getting started with DLL

Postby jek » 27 Aug 2007

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.

User avatar
Marina Pashkova
Posts: 2758
Joined: 27 Jul 2007

Postby Marina Pashkova » 29 Aug 2007

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.

jek
Posts: 163
Joined: 24 Dec 2006
Been thanked: 2 times

Postby jek » 29 Aug 2007

Thank you.

jek
Posts: 163
Joined: 24 Dec 2006
Been thanked: 2 times

Postby jek » 29 Aug 2007

Are there any special issues, techniques, or gotchas to working with threads?

Does MC work with libpthread.a ?

User avatar
Marina Pashkova
Posts: 2758
Joined: 27 Jul 2007

Postby Marina Pashkova » 30 Aug 2007

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.

jek
Posts: 163
Joined: 24 Dec 2006
Been thanked: 2 times

Postby jek » 30 Aug 2007

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.

User avatar
Marina Pashkova
Posts: 2758
Joined: 27 Jul 2007

Postby Marina Pashkova » 31 Aug 2007

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


Return to “User Contributed Studies and Indicator Library”