Solved

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

Posted on 1998-03-11
2
210 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

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…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

914 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now