Welcome to Dream.In.Code
Become an Expert!

Join 149,385 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 2,297 people online right now. Registration is fast and FREE... Join Now!




plugin aware program and dynamic forms based on plugins

 
Reply to this topicStart new topic

plugin aware program and dynamic forms based on plugins

Noldona
14 May, 2007 - 06:20 AM
Post #1

Addicted to DIC
*****

Joined: 2 Jul, 2002
Posts: 1,019



Thanked: 3 times
My Contributions
I have searched an found a little help on creating DLL files, but really nothing on making a plugin aware application. I am planning on writing a piece of software in C++.NET 2005. The software I am designing and will develop is going to be a toolkit for Dungeons and Dragons 3.5 edition. It will consist of multiple projects that interact with each other via windows messaging and/or a shared database. The core program this entire toolkit will focus around is the character creation/browser project. The main form will consist of displaying the data that would be seen on a standard character sheet.

The problem comes in when dealing with the supplemental books. Certain books like the Expanded Psionic Handbook, Tome of Magic, Magic Incarnum, and probably others either add or modify the basic character sheet in some way. In the instance of the Binder class from the Tome of Magic, the modification to the main character sheet is minimal. There is no reason to add a whole other form for just a few textboxes and a small list when it could easily be added to the main form. However, the controls should only be added to the form when the user has the appropriate plugin installed. This allows the user to only install and deal with the plugins they want without having do deal with everything else that they don't want. As the user buys another book, they can install the appropriate plugin for that book and the program will grow as their D&D library does. Or at least that is the plan.

I don't have any code written yet as I am still trying to design how this program will be broken up. I already planning on doing DLL files for the common functions that are used among the programs to include database access and other random functions. I haven't decided, but I will probably do some sort of config file or registry keys to keep track of which programs and plugins are installed.

What I really need right now is some good guides on creating plugin aware programs and how to modify forms from those plugins. Any help would be appreciated.
User is offlineProfile CardPM
+Quote Post

JellyBean
RE: Plugin Aware Program And Dynamic Forms Based On Plugins
15 May, 2007 - 11:10 PM
Post #2

D.I.C Head
**

Joined: 25 Apr, 2007
Posts: 60


My Contributions
Try this tutorial.

Also, you can get plenty of information by searching google.

Hope this helps.
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 1/7/09 09:53AM

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter

Live Help!

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month