dll addressing; 2 different way?

Questions about MultiCharts and user contributed studies.
arjfca
Posts: 1270
Joined: 23 Nov 2010
Has thanked: 720 times
Been thanked: 222 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: 557 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.
These users thanked the author Andrew MultiCharts for the post:
arjfca

arjfca
Posts: 1270
Joined: 23 Nov 2010
Has thanked: 720 times
Been thanked: 222 times

Re: dll addressing; 2 different way?

Postby arjfca » 01 Nov 2012

Andrew MultiCharts wrote: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: 557 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
These users thanked the author Andrew MultiCharts for the post:
arjfca

Smoky
Posts: 262
Joined: 03 Dec 2010
Has thanked: 48 times
Been thanked: 67 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”