Link to home
Start Free TrialLog in
Avatar of delphi112497
delphi112497

asked on

Plugin Enabled Application

Hi could some one please give me a sample source code of an
application that detects if a dll exists and if it does load it as a plugin?

I have seen PluginDemo (something like it) at torry's, but it's not good enough for me.

What I want the sample app to do is to load load different forms depending on the found dll (the form and menu title is specified in the dll) files.

thank you very much,

Rob
Avatar of jconde
jconde

Hello all,

I'm very interested in this question too.

If Rob's points are not enough, I will post a question with a few more to the one who answers it :-)

-Jorge

BTW, the demo at torry's is good (in my opinion), but I found it quite complicated to understand :(
Hi There Rob & Jorge.

If you both give me your emails (sorry Jorge, I have lost yours), I will send you a cut down version of the plugin interface I use for most of my applications.  Its very easy to use, and generally only needs a few lines of code, plus an interfacing unit which I will also send you.

Cheers,


Stuart.
If its not too much of an imposition, I would also be interested in that code.

My email is raymond.wilson@trimble.co.nz

Thanks in advance,

Raymond.
Hi Stu, my Email is jconde@securities.com.mx or jconde@securities.com!

thank your very much!

jorge
Avatar of kretzschmar
hi stuart,

i'm interested too,
if you want you can send it also to
meikl@spektracom.de

meikl ;-)
If you want to get really funcky then you can use a combination of COM / ActiveX forms/ Custom COM Categories to create a truly extensible component based application. I know - that what Ive done for my company such that all the customer applications that we produce sit within a GUI console using their own GUI ocx, register their capablities in the registry under the COM Catergorys key's and then implement all their business functionality in a series of backend COM servers.

Regards,


John.
Please send it to Epsylon3@hotmail.com. I like to see it!

Regards,

Epsylon.
Why you did'nt post it in torry's page, in that way everyone can downlod it...


anyway can you send me a copy too...   :-)


lortega@magicnet.net
jaja, so it seems this is a very interesting question :)
Hi Stuart, I'm also interested in that interface of yours.
Please email it me to aluna_98@yahoo.com

Thanks in advance...

Alex
Im also intere´sted in it.. actualy anything dll related, But im mostley interested in the Plugin idea and evt samples of a good way to build an app with a SDK for it so people can develop addons too..

my email:
brainware@cyberjunkie.dk

Regards
Michael
Well, I think it's time for you to put it online (something like a Plug-in-SDK for Delphi). I tried the Plug-in example at Torry's, also, but I am very interested in your code.

Would be happy to receive a copy, too.

Best regards, The Professor

TheProfessor@gmx.de
Hi All.

I have posted you an example.  Please let me know if it is what you are looking for.

Cheers,

Stuart.
Avatar of delphi112497

ASKER

Hello all, Stuart

could you please send me the code to

delphi@explore-mex.com

thank you very much,

ROb
Hi Rob,

I have sent you the same email as I sent everyone else.

Regards,

Stu.
Rob,

Just got this:

<delphi@explore-mex.com>:
204.246.249.90 does not like recipient.
Remote host said: 550 <delphi@explore-mex.com>... User unknown
Giving up on 204.246.249.90.


Sorry mate.  I can't send to this address.

Stu.
That's strange, I just received 2 messages from you :)

As a matter of fact, I'm testing them right now

That problem is because I have an alias that points to another account on another server and that might just be the problem!

Please post an answer (since you where the only one to help me and the others out) and I will grade it later on today ok?

thank you very much,

Robert
Hi Rob,

I have no problems posting an answer, but I would honestly like you to try it before hand just to make sure it works OK for you.  I'm pretty sure it will give you a good starting point without too much coding.

Please let me know if you have any problems or if you want a bit more information.  You have my email address now.

Best wishes,


Stuart.
Hi Stuart,

Is there allready a website where we can find your interesting code, or could you pleasy send a copy to JoostVB@Sycron.be

Thanks a lot!
Hi All.

I got sick of sending everyone a copy of this, so here ya go.  If you want to download it, go to my 5 minute web page:

http://www.nlc.net.au/~enigma/source/

Stu.

PS.  How did everyone go?  Some feedback would be really nice.  The link above contains my demo projects as well so you can see it actually runngin.
ASKER CERTIFIED SOLUTION
Avatar of Stuart_Johnson
Stuart_Johnson

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Please, could someone send me the code ?

Thank you in advance.

Andrea. (borgo@indi.it)
Andrea,

I have already uploaded it to my "web page".  The URL is http://www.nlc.net.au/~enigma/source/ (see above).

Stuart.
Rob,

Can you please provide me with some feed back?  I would like to know whether or not this has helped you.

Cheers,


Stuart
Thank you all, I now have my app working

thanks stuart!!


-rob
Hi Rob,

No problems at all.  Thanks for the grading.  Let me know if you need any help with the plug-ins (you have my email address).

Cheers,

Stuart