Hello, I’m very new to SDL(just got the enviroment setup last night)
What I’m using SDL for right now is a GUI plugin to my pc emulator. If I had my
gui plugin(which uses SDL) and another plugin that uses SDL also, would that
cause any problems since they would be in the same proccess?
Jordan wrote:
Hello, I’m very new to SDL(just got the enviroment setup last night)
What I’m using SDL for right now is a GUI plugin to my pc emulator. If I had my
gui plugin(which uses SDL) and another plugin that uses SDL also, would that
cause any problems since they would be in the same proccess?
Probably only if they share symbols…if each load of the .dll gives you
a separate copy of it, you’d probably be fine, but if loading it just
gives you back the same library handle again, it won’t do what you
expect: the second plugin’s call to SDL_SetVideoMode() would tear down
the first screen surface, etc. I don’t think it would crash in strange
ways in either case, though.
This is all just a guess, I should say.
–ryan.