Have a class, generated by the singleton mechanisms, namely static variables, called P, which recorded some information,
There is a base class, called T, exported DLL dynamic link library, can be integrated on T, then the main program calls,
And then there are two classes A, B, B from A inheritance, in the main program; T through B function to modify information P
Can also use A function to query,
Normal static link library, query is correct, are all on the same instance, operation P
But the static link libraries, A will to regenerate A new P instance, rather than A and B share A static data,
Why is this? Thank you for your help!!!!!