Aww shucksI thought that'd be the case
Hmm... Okay, I'll tell you more about it
. I'm going to have this "core" program I'm coding that loads so-called modules and will make a tab for each module. When the tab is clicked on, the module will show whatever it wants in that tab, and the modules will be able to display things anywhere else, as well.
The modules are mostly going to be utilities that I'm probably going to code (hopefully some other people will code some too!) that do useful things. They will be programs that are hardly useful, like one might be for text-storing (ever had a snippet of code that you need to store for a second?), and instead of having 50 different programs that do useless things, you can just have one.
I'm calling it Companion, because it's going to sit unnoticed on the side of the screen, not visible. When you move your mouse to the corner, it'll appear with all these useful things to do (hey, a todo list. Not a bad idea!)
I was recommended by a friend to use threads and DLLs and I choose SFML myself (I love it
. I suppose I could do things differently (I suppose I don't really have a choice).
What if I created a couple of functions in the DLL, say start, step and end? Each function could then be called when the appropriate thing happens. And all the variables that the DLL uses could just be global? Would that work, do you think? (I'm rather new to C++, and haven't spent much time with DLLs either).
-- Stewart