Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 1998-03-11
2
Medium Priority
?
219 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 200 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
Before we dive into the marketing strategies involved with creating an effective homepage, it’s crucial that EE members know what a homepage is. In essence, a homepage is the introductory, or default page, of a website that typically highlights the …
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 course is ideal for IT System Administrators working with VMware vSphere and its associated products in their company infrastructure. This course teaches you how to install and maintain this virtualization technology to store data, prevent vuln…

916 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