RAM/memory error with ELCollections

Questions about MultiCharts and user contributed studies.
JensOhle
Posts: 9
Joined: 24 Jul 2018
Has thanked: 3 times
Been thanked: 2 times

RAM/memory error with ELCollections

Postby JensOhle » 15 Mar 2022

Bildschirmfoto 2022-03-15 um 16.52.40.png
(35.2 KiB) Not downloaded yet
Hey there!

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)
Pic of runtime error is attached (message displayed in German as the server is hosted in DE).

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;

Return to “MultiCharts”