Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

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

Posted on 1998-03-11
2
212 Views
Last Modified: 2013-11-18
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
Comment
Question by:rehoto
2 Comments
 
LVL 5

Expert Comment

by:inter
ID: 1360415
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
 
LVL 4

Accepted Solution

by:
d003303 earned 100 total points
ID: 1360416
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: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

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

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
FMX and jaudiotracker playing memory stream 29 85
SUM 2 INTEGER ARRAYS INTO 1 10 108
Wincontrol not (correctly) drawn 15 40
Twebbrowser add css to the header 3 27
A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
The purpose of this video is to demonstrate how to set up the WordPress backend so that each page automatically generates a Mailchimp signup form in the sidebar. This will be demonstrated using a Windows 8 PC. Tools Used are Photoshop, Awesome…

789 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question