i dont have any code yet because im not sure of the best way to go about doing this.
1. i have multiple dlls that i want to statically link to my program
2. when my program starts i want all the dlls to do their own intialization
3. i do not want to call a function for each statically linked library, for example.. if i have 8 libraries linked i dont want to call 8 seperate functions so they can all do their intialization, i just want to call one.
i have tried doing this before with init and virtual functions from a class after calling new Class and then the virtual function with no luck. maybe i was doing it wrong, i really dont know.. im just confused about the best way to do this and ive tried a ton of things and im almost at the point of giving up.
im not asking anyone to code anything for me, just pointing me in the right direction would do. i appreciate any helpful posts.