external DLL, Array and Reference

Questions about MultiCharts and user contributed studies.
User avatar
fx1
Posts: 26
Joined: 20 Mar 2013

external DLL, Array and Reference

Postby fx1 » 23 Oct 2014

Hi,

i have an external DLL which is being used from other software. I dont have source code, i just know the exports:

bool ExcelA2C(string Address, int & Col, int & Row)
bool ExcelSetFromArrayV(string Address,double [] data,int count)

can you please help me to define the External: line? How can i say MC that Col, Row are references instead of variables... And that data is an array!

tx

User avatar
Henry MultiСharts
Posts: 9165
Joined: 25 Aug 2011
Has thanked: 1264 times
Been thanked: 2957 times

Re: external DLL, Array and Reference

Postby Henry MultiСharts » 24 Oct 2014

Hello fx1,
bool ExcelA2C(string Address, int & Col, int & Row)
external: "Test.dll", bool, "ExcelA2C", string, lpint, lpint;
bool ExcelSetFromArrayV(string Address,double [] data,int count)
This one is not supported.


Return to “MultiCharts”