Originally Posted by
Zlatko
What application do you want to plug into? As stated above, a plugin is a dll or shared object (lets call them both libraries) that is read in by an application so that you can extend the the application with your own function. Do you want to do that or do you want to dynamically load in a library into your own application?
If you want to extend a commercial application, you will have to write your library to conform to the application's requirements. Say you want to extend Adobe Acrobat. You'd go to the Adobe web site, download the documentation for the plugin interface (API), download samples, read and run the samples to see how they work. Read the documentation, but if the documentation runs thousands of pages, then go back and forth between samples and docs. Visit the application's forums.
If you want to dynamically load a library into your own application, you need to open the library and look for functions you want to execute. How to do that depends on which operating system you're developing for. Let us know the details.
Good luck.