I need to share a variables (1000s) between 2 C++ Dlls. How should I do that?
MyVariables.Dll
contains:
int a = 0;
ModifyMyVariables.Dll
contains:
extern int a;
a++;
// do more stuff with a;
What am i supposed to write in the following files?
myvariables.h
myvariables.cpp
ModifyMyVariables.h
ModifyMyVariables.cpp