Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 221
  • Last Modified:

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)
0
rehoto
Asked:
rehoto
1 Solution
 
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
 
d003303Commented:
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

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now