Login Page - Create Account

Support Board


Date/Time: Sat, 18 May 2024 12:47:09 +0000



Post From: vector unique among all instances of a study

[2016-07-31 16:27:04]
@sstfrederik - Posts: 404
Hi, a beginner developer question ...

How can i make sure that a vector is not shared among all loaded instances of a study?

At first I used static std::vector, but this gives problems with more instances of a study using the same vector.

Than I used std::vector which work when sc.FreeDLL = 1; but not when set to 0;

I declared these outside the scsf_

std::vector <SCString> f_DataLines;
std::vector <std::vector <char*> > f_DateValues;

Thanks