[Dev-C++] A Plugin Engine for my Application
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: hhh h. <the...@ho...> - 2007-12-12 14:11:15
|
Hi. I am developing a application, where my developmental concept is a hierarchical set of platform. I have a platform, at the very start of my tree-like app. This platform I gave the name "plugin_engine". Its basically two Linked Lists, one with function pointers (struct Plugin), and the other with data structs(struct Message)... The ideia is to itenerate through the Plugin Linked List, and subsequentially through the Message Linked List. If a Message ( read "a member of struct Message** LinkedList") is designated to a defined Plugin ( read "a member of struct Plugin** LinkedList ") we give the control to the plugin main function ( Remember that struct Plugin has function pointer members. ) The first conceptual challange I have is... How to integrate the Win32 API into that Plugin platform ? To be clear, I wan't my platform at the very first start of the design and not as a branch of Win32 Windowing API, so i can also have complete control over files/socket operation, and users databases (Also to be included) I cannot have a critical error that forces my app to break... I wish to maintain the most control possible. The second is : How can I also create a dynamic plugin structure? Load exterior plugins developed for my app? _________________________________________________________________ Transfira JÁ a última versão do Windows Live Messenger! http://get.live.com/pt-pt/messenger/overview |