How can I get tskit.dll
-
- Posts: 2
- Joined: 05 Nov 2012
How can I get tskit.dll
I only have multicharts installed and there is no tskit.dll. I am creating a custom dll and need to reference tskit.dll any suggestions ?
- Andrew MultiCharts
- Posts: 1587
- Joined: 11 Oct 2011
- Has thanked: 931 times
- Been thanked: 559 times
Re: How can I get tskit.dll
Hello rajeshkhan808,
You can use Plkit.dll that comes with MultiCharts. it is identical to Tskit.dll.
You can use Plkit.dll that comes with MultiCharts. it is identical to Tskit.dll.
-
- Posts: 2
- Joined: 05 Nov 2012
Re: How can I get tskit.dll
Here is what I am doing so far
In my C++ project I am doing
However I still cant access
Any suggestions on what I might be doing wrong ?
In my C++ project I am doing
Code: Select all
#import "D:\\Program Files\\TS Support\\MultiCharts64\\PLKit.dll" no_namespace
Code: Select all
IEasyLanguageObject * object
- Andrew MultiCharts
- Posts: 1587
- Joined: 11 Oct 2011
- Has thanked: 931 times
- Been thanked: 559 times
Re: How can I get tskit.dll
Hi Andrew the link you posted is now broken. Do you have any updated one?Here is an example that should be helpful for you.
Thank you
- Svetlana MultiCharts
- Posts: 645
- Joined: 19 Oct 2017
- Has thanked: 3 times
- Been thanked: 163 times
Re: How can I get tskit.dll
Here is C++ project sample.
Two test functions are created in the project.
Start MCDLL.sln project.
MCDLL.dll will be built in the project directories. You need to put it in MultiCharts installation folder.
Then import test_mcdll.pla in PowerLanguage Editor. Here is an example how to use these functions in PL.
The functions included in MCDLL.dll of this project will be used in test_mcdll.pla indicator.
Two test functions are created in the project.
Code: Select all
// MCDLL.cpp : Defines the exported functions for the DLL application.
//
#include "stdafx.h"
#include <math.h>
#import "C:\Program Files\TS Support\MultiCharts64\PLKit.dll" no_namespace
//===================================================================
extern "C" int __stdcall TestFunc(int test)
{
return 2 * test;
}
int __stdcall dummyFunction(IEasyLanguageObject * elo)
{
try
{
if (elo->Close[0] > elo->Close[1]) {
return 1;
}
}
catch(...) {
return 10;
}
return 0;
}
MCDLL.dll will be built in the project directories. You need to put it in MultiCharts installation folder.
Then import test_mcdll.pla in PowerLanguage Editor. Here is an example how to use these functions in PL.
Code: Select all
external: "mcdll.dll", int,"TestFunc",int;
external: "mcdll.dll", int,"dummyFunction", ieasylanguageobject;
value1 = TestFunc(3);
value2 = dummyFunction(self);
Plot1(value1);
Plot2(value2);