Results 1 to 5 of 5

Thread: Plugins!

  1. #1
    Guest

    Talking

    How can I add plug-in capabilities to my app?
    I thought about making EXE files, encrypt them, and give them a special suffix (Eg. *.tgh, *.rtt, *.eap...).
    But I think that this solution won't work because I need the plug-ins to interact with my app.
    Any suggestions?

  2. #2
    Guest
    Anyhting?

  3. #3
    Guest
    One way of doing plug-ins is to define a plugin interface in an ActiveX DLL, and make you program use the LoadLibrary function to search for all avaialble plugins in a specific directory.

    At least, that's the basic concept.

    Unfortunately, in practice, it's substantiatlly harder. Using the Implements keyword, and a suitable interface component, you can define components that have a generic interface. The problem (at least in my experience), is that it is reasonably difficult to incorporate these plugins in to the system, unless you are doing simple action plugins (like Photoshop filters), which is just load the plugin when the form loads, create a menu item for ite (naming the menu based on querying the plugin interface using a suitably named function), and then calling that function with LoadLibrary.

    Hope that at least gave you some ideas. The major key is having a defined interface for the plugin, so that yuou're program knows how to talk to the plugin files.

    - gaffa

  4. #4
    Guest
    That's not the problem.
    I got advice from Yonatan and he told me I can use DDE.
    How do I use it?

  5. #5
    Guest
    DDE is a technology from the stone age. It dates back to Win 3.0. I didn't think people still used it

    On DDE I can't help. Sorry

    - gaffa

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width