I'm starting to write my own engine, and I'm not sure if I'm going the right way about it. So far, I've done a bit of work on core.dll, and i'd like to know if there's any stupid mistakes that I've done.. any tips or hints, and so on..
Since the engine is going to be dynamically loaded DLL's, I have another question: Say I have a sound.dll which needs to call the core.dll.. how do I handle this? sound.dll is loaded by core.dll, and core.dll is loaded by the main program. The main program is the one that gets the addresses of the functions in core.dll. How do I set this all up so that the main program can call the functions in any of these dll's directly, and so that sound.dll can call functions in core.dll? I hope I'm not being too vague here
Here's the source so far:
core.hpp
core.cpp
Since the engine is going to be dynamically loaded DLL's, I have another question: Say I have a sound.dll which needs to call the core.dll.. how do I handle this? sound.dll is loaded by core.dll, and core.dll is loaded by the main program. The main program is the one that gets the addresses of the functions in core.dll. How do I set this all up so that the main program can call the functions in any of these dll's directly, and so that sound.dll can call functions in core.dll? I hope I'm not being too vague here
Here's the source so far:
core.hpp
core.cpp
