Re: Adding plugins to my application
From: Jamie (jamie_5_not_valid_after_5_Please_at_charter.net)
Date: 05/30/04
- Next message: Winston Tuck: "Best Way to Implement Registry?"
- Previous message: Peter Goddard: "Re: adding floating point numbers"
- In reply to: Tom: "Adding plugins to my application"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sat, 29 May 2004 15:58:21 -0700
yes, but this is what OCX(activex) is good at ! and even DCOM etc..
but if you want to do your own thing you can create a DLL and have a
common function that gives you back a pointer to a record that will have
the info about the plug into.
like Title Name, requirements etc..
this would be something you most likely would want to load at run time.
and also keep an index file with your app of the list of these DLL's
what most do is make sure the master initiation function ask for handle
info, things like Surface handle, window whandle etc..
depending on what you app does to start with..
Tom wrote:
> Hi,
>
> Here is what I want : I have a main application that deals with files, and I
> would like it to be able to call some plugins depending on the file type
> (extension). Then regarding the type, the good plugin will be loaded, and I
> would get back some text and a data stream that I would use in the main app.
>
> Is there an esay way to do this with dlls ? I didn't manage to find a simple
> yet good tutorial on the web. If someone could explain me a bit how it
> works, or point me out to a good resource...
>
> Thanks in advance !
>
> Tom
>
>
- Next message: Winston Tuck: "Best Way to Implement Registry?"
- Previous message: Peter Goddard: "Re: adding floating point numbers"
- In reply to: Tom: "Adding plugins to my application"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|