Click here to Skip to main content
13,256,304 members (50,444 online)
Click here to Skip to main content
Add your own
alternative version


23 bookmarked
Posted 4 Mar 2004

How to create and support Plugins

, 4 Mar 2004
Rate this:
Please Sign up or sign in to vote.
It demonstrates how to use plugins and how to create them in VC++.
<!-- Download Links --> <!-- Add the rest of your HTML here -->


This text is meant for those who are thinking of supporting plugins in their applications. Now what is a plugin? I have tried to find some solutions on net and have got a conclusion that these are only dlls which have to support some format. Eg. I have one application to call functions which are not known at compile time. Possible solution is to load function from a Dll using GetProcAddress ( win32 API ). Before that there must be some set of functions which are always sure to be there in dll. I have two. 1) GetFunctionCount() return count of functions 2) GetFunctionNames(LPCTSTR *s_fn_names) copies function names Now These functions are responsible to return enough information to be used for making calls to functions at runtime. Read the rest in code itself. It's easy to understand source code.


This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


About the Author

Web Developer
France France

You may also be interested in...


Comments and Discussions

GeneralInteresting! Pin
kj_kho21-Dec-06 19:47
memberkj_kho21-Dec-06 19:47 
GeneralPretty neat ! Pin
WREY14-May-04 12:14
memberWREY14-May-04 12:14 
GeneralQuite short for an article Pin
Patje8-Mar-04 4:48
memberPatje8-Mar-04 4:48 
GeneralThis isn't an article Pin
KevinHall5-Mar-04 5:52
memberKevinHall5-Mar-04 5:52 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

Permalink | Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.171114.1 | Last Updated 5 Mar 2004
Article Copyright 2004 by DevRanjeet
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid