Archived

This topic is now archived and is closed to further replies.

antistuff

Module Plugin System

Recommended Posts

antistuff    122
I want to create an engine where the application using it loads all the modules it wants to use at runtime (sound,input, etc...). So basicaly all the engine is is a system for loading and unloading modules, and then the modules themselves can do things. I also want to support more than one platform (namely win and linux, althoguh i would like information abotu how this would be done on as many platforms as possible so i can deisgn it to be easily ported). Can anybody point me to information on how to do this? Im pretty sure with win you use dlls and with linux you use staticly linked libraries, but how is this done?

Share this post


Link to post
Share on other sites
Oluseyi    2103
quote:
Original post by antistuff
...and with linux you use staticly linked libraries...

Shared objects, not static libraries.

The obvious place to start is platform-specific documentation on the dynamic link libraries/shared objects, something you can find with a cursory visit to Google.

[ GDNet Start Here | GDNet Search Tool | GDNet FAQ | MS RTFM [MSDN] | SGI STL Docs | Google! ]
Thanks to Kylotan for the idea!

Share this post


Link to post
Share on other sites