can't find dll "globalvariables.dll"  [SOLVED]

Questions about MultiCharts and user contributed studies.
alko
Posts: 23
Joined: 01 Sep 2016

can't find dll "globalvariables.dll"

Postby alko » 07 Feb 2017

H all,

I cannot get two models - master and slave - work in Portfolio Trader for a backtest with global variables. I get Message: can't find dll "globalvariables.dll". I tried to specify full path but it also failed (file is definitely there). I tried the following initiation variations for globalvariables.dll:

DefineDLLFunc: "GlobalVariable.dll", int, "GV_GetInteger", int ;

DefineDLLFunc: "C:\Program Files\TS Support\MultiCharts64\GlobalVariable.dll", int, "GV_GetInteger", int ;

EXTERNAL: "C:\Program Files\TS Support\MultiCharts64\GlobalVariable.dll", int, "GV_GetInteger", int ;

How come it does not see the file? Thank you

User avatar
TJ
Posts: 7740
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 1033 times
Been thanked: 2221 times

Re: can't find dll "globalvariables.dll"

Postby TJ » 07 Feb 2017

did you install the globalvariable yourself?

alko
Posts: 23
Joined: 01 Sep 2016

Re: can't find dll "globalvariables.dll"

Postby alko » 07 Feb 2017

Yes

alko
Posts: 23
Joined: 01 Sep 2016

Re: can't find dll "globalvariables.dll"

Postby alko » 07 Feb 2017

I am still running version 9 of MC

User avatar
TJ
Posts: 7740
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 1033 times
Been thanked: 2221 times

Re: can't find dll "globalvariables.dll"

Postby TJ » 07 Feb 2017

Yes

Probably you installed the 32 bit version of Globalvariable.

See post #1
viewtopic.php?t=10094

alko
Posts: 23
Joined: 01 Sep 2016

Re: can't find dll "globalvariables.dll"

Postby alko » 07 Feb 2017

no, definitely 64bit, saw that thread before installed them. Any way to fix this?

alko
Posts: 23
Joined: 01 Sep 2016

Re: can't find dll "globalvariables.dll"

Postby alko » 07 Feb 2017

to clarify - the strategies compile fine, but the error occurs when running them

User avatar
TJ
Posts: 7740
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 1033 times
Been thanked: 2221 times

Re: can't find dll "globalvariables.dll"

Postby TJ » 07 Feb 2017

no, definitely 64bit, saw that thread before installed them. Any way to fix this?

Nope... there are no 64 bit GlobalVariables available for download anywhere.

alko
Posts: 23
Joined: 01 Sep 2016

Re: can't find dll "globalvariables.dll"  [SOLVED]

Postby alko » 07 Feb 2017

I have reinstalled original Globalvariable.dll. It now seems to work. Possibly it was indeed 32 bit. Thank you


Return to “MultiCharts”