dll addressing; 2 different way?

Questions about MultiCharts and user contributed studies.
arjfca
Posts: 1292
Joined: 23 Nov 2010
Has thanked: 725 times
Been thanked: 223 times

dll addressing; 2 different way?

Postby arjfca » 31 Oct 2012

Hello
My un-achieved goal is to use ELExcel.dll collection to send data to Excel. No luck yet.
I decided to investigate how the Global variable function do address the dll.

What is the difference between those way to address a dll?

Global variable:

Code: Select all

DefineDLLFunc: "GlobalVariable.dll", lpstr, "GV_GetString", int ;
Elexcel.dll

Code: Select all

external: "ELExcel.dll", bool, "ELXL_Init", IEasyLanguageObject ;
Any help or information appreciated

Martin

User avatar
Andrew MultiCharts
Posts: 1587
Joined: 11 Oct 2011
Has thanked: 931 times
Been thanked: 559 times

Re: dll addressing; 2 different way?

Postby Andrew MultiCharts » 01 Nov 2012

Hello Martin,

"DefineDLLFunc" and "external" work the same way. There is no difference.

arjfca
Posts: 1292
Joined: 23 Nov 2010
Has thanked: 725 times
Been thanked: 223 times

Re: dll addressing; 2 different way?

Postby arjfca » 01 Nov 2012

Hello Martin,

"DefineDLLFunc" and "external" work the same way. There is no difference.
Question: Where should reside the dll file?

Martin :)

User avatar
Andrew MultiCharts
Posts: 1587
Joined: 11 Oct 2011
Has thanked: 931 times
Been thanked: 559 times

Re: dll addressing; 2 different way?

Postby Andrew MultiCharts » 02 Nov 2012

In the installation folder of MC. Example: C:\Program Files (x86)\TS Support\MultiCharts

User avatar
Smoky
Posts: 507
Joined: 03 Dec 2010
Location: Thailand
Has thanked: 97 times
Been thanked: 115 times

Re: dll addressing; 2 different way?

Postby Smoky » 10 Dec 2012

where to find all DefineDLLFunc: for "GlobalVariable.dll"

like this one :

DefineDLLFunc: "GlobalVariable.dll", lpstr, "GV_GetString", int ; ?


Many thanks for your help ;)


Return to “MultiCharts”