PDA

View Full Version : Writting modular code



i0Null
October 26th, 2007, 01:45 PM
Does anyone know how to write a plugin architecture in C, so that an application can dynamically load modules and plugins at runtime? ( such as data input (from databases, or a file) and different interfaces ( like ncurses or gtk)? ))

Wybiral
October 26th, 2007, 03:09 PM
You just need a way to handle the shared object files.

http://www.linux.org/docs/ldp/howto/Program-Library-HOWTO/dl-libraries.html