Re: Adding plugins to my application

From: Jamie (jamie_5_not_valid_after_5_Please_at_charter.net)
Date: 05/30/04


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
>
>



Relevant Pages

  • Re: New Application problems
    ... Somethig in WIN XP changed the .CRD file type so that another app is ... Go to the associations and put it back to cardfile files ...
    (microsoft.public.windowsxp.customize)
  • Re: Custom Files?
    ... > Private File Type, then I wouldn't worry about it. ... > Of course not registering it, may mean another app would start using it & ... But regarding the custom ... > | file extension? ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Classes vs. Modules
    ... Tom, I think this really comes down to "you say tomatoe and I say tomato". ... so how much extra work have I been creating for myself? ... There are business app, there are utilities, there are "kiosks" and there ... directing the flow of the application startup. ...
    (microsoft.public.dotnet.languages.vb)
  • Re: question rephrased
    ... > Hi Tom, ... >> to find the directory where my app is located. ... > it's like you wanting to know my office phone number and instead asking ... > for my home phone number... ...
    (comp.lang.java.help)
  • Launching my app from a browser
    ... I've written a win32 app that registers a custom file type. ...
    (microsoft.public.inetsdk.programming.webbrowser_ctl)