May be someone had the same issue or knows what the issue might be ... Thank you!
I'm trying to use the ELCollections.dll for a study through addressing it directly (not through the MC wrapper function - "_" not ".").
- Compiling works well, but the study produces a run-time error indicating that it could not access the RAM properly.
- When changing the ELC functions from direct calling "_" to MC integrated functions "." there is no runtime error.
- Other studies work with GlobalVariable.dll on the same machine in the same workspace without any problem
- I tested it on two machines (Windows Server 2016) which were cleaned up via "sfc /scannow" (promoted to solve ram windows problems)
Test code to provoke the run-time error
Code: Select all
// JO, Mar22
external: "ELCollections.dll", int, "MapNN_Put", int, int, double;
external: "ELCollections.dll", int, "MapNN_Share", string;
// input: ;
vars: id_PBM(MapNN_Share("pPBMC")), last_pC(0);
if LastBarOnChart
then begin
last_pC = close[1];
MapNN_Put(id_PBM, last_pC, datetime[0]);
end;