Hi all,


I'm trying to solve the following problem:


I've compiled a static library which contains classes for all kinds of services.

Some of these service need initialisation which I'd like to be performed automatically.

For this purpose I have added a class to
my library which does these initialisations
in its ctor. In the implementation file of
this class a create a single static instance of it.

I've added the library to one of my projects. To my surprise, the initialisation does not take place since the static instance of my initialiser class
is not being created.

Is that normal behaviour for static objects in libraries which are not being referenced from anywhere in the code ?


Best regards,

Matthias.