Jump to content

How to compile a Delphi plugin


Recommended Posts

Hi All,

could you please share a brief guide about compiling a DVBViewer Delphi plug-in?
I would like to modify the Delphi code of a plugin (shared by another, but no longer updated since 2013),

and then re-compile it.

Which tools/compilers are needed? Auxiliaries DVBViewer libraries are needed too?

Link to comment

This depends on the plugin. In general you only need a Delphi 6 or newer compiler. Free Pascal/Lazarus should also run fine. All our plugins, we published so far, do not require third party libraries.

  • Thanks 1
Link to comment

I have tried to compile using Lazarus, after converting the Delphi project to the Lazarus format, using the dedicated conversion feature. 

But the compilation failed.


I suspect because some libraries are missing. At the beginning of the code (UPlugin.pas file) I see: 

uses Windows, Controls, Classes, Messages, DVBViewerServer_TLB,
  uplugininterfaces, Graphics, DateUtils, SysUtils, Math, IniFiles, ExtCtrls, OleServer,

But I only have the following files:

DVBViewerServer_TLB.pas, plgGlobals.pas, RegExpr.pas, uplugininterfaces.pas, version.pas

Are there other library files that I should include in the project? Where can I find them?

Link to comment

I did other tests. It seems that the libraries are correctly loaded. So the problem has to been looked for somewhere else.
Probably the modular code is not fully compatible whit Lazarus, or some little adjusts could be needed to compile it using Lazarus.... :ermm:

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...