self-progr. plugins for delphi-prgs -> possible ?

Is it possible, that i realize plugins into delphi2 ?
(the interface between mainprg and plugin must be a object)

(sorry my english, but i'm write from germany and my english is not good)
rehotoAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
d003303Connect With a Mentor Commented:
Yo,
you have several possibilities. You can use a declaration unit that defines the object interface you want to use. If main app and plugin are using the same unit to access/construct/inherit the object, you got it. But this solution is VERY dependant on the Delphi version you are using, because D2 and D3 objects are not binary compatible.

The second one is to use COM interfaces (also called OLE-Objects), derived from IUnknown. This is more comfortable in D3, but you can also do it in D2. The advantage is that the plugin can be developed in any language with any compiler. It only has to implement your COM interface. I would prefer this solution, but it's up to you. Please give feedback to assist you further.

Slash/d003303
0
 
interCommented:
Hi,

You should at least decide a group of things to develop plug-in. What do you want as plug-in. Or are you planing to develop plug-in for Delphi IDE itself. Please, give more info and we could help.

Sincerely,
Igor
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.