Good day!
There is a project in C ++, there is a static library that is connected to it. And there is a dll. The point is this: how to make an instance of a class defined in a stat libe created in a project, then a function from a dll is called, which accepts a reference to this instance as input, and processes it. Do I need to enable stat lib in dll? Here with the export / import of this class will not work. It should be used only dynamic connection dll, I work in MSVS, there LoadLibrary and GetProcessAddress. It is applied in general as follows: the project works, when an update to the dll comes up, the project does not restart, but only pauses, there functions are reloaded from the dll. And another question: with such an organization, I should not specify the .lib file from the dll?
g_someoneFabric->getFooInstance()- isnullxbh