Hello, I have an sfml exe that should dynamically (using loadlibrary) load a dll that uses sfml too. In the dll there is a base class and are exposed two function to create and destroy an instance of that class. All works, but when I try to do something sfml related like loading textures, I get opengl context errors and nothing works. I linked both (exe and dll) with sfml in a static way.
Any help to get it working?