Misc

1. Interesting problem.

constants.dll V1

class contants {

public:

static const string Var1 = "Var1";

};

client.dll V1

string temp = constants.Var1;

constants.dll V2

class contants {

public:

static const string Var1 = "Var1";

};

client.dll V2

string temp = constants.Var2;

Works fine:

constants.dll V1 & client.dll V1

static const string Var2 = "Var2";

constants.dll V2 & client.dll V2

Runtime exception at string temp = constants.Var2;

constants.dll V1 & client.dll V2