bpl

Getting BPL Versions at program start.

Is it possible to check what version of BPL (ie Rtl70.BPL, Indy70.bpl etc) are installed on a clients computer when the program starts? I have had some programs crash because the BPL on there computer is different to the ones on the build machine. If i have to add each BPL used into the installer on each update, i think it will defeat o...

Delphi Project Needing runtime Packages, even with runtime Packages off.

My Delphi7 project will not run on my clients computer if i don't have a few of the runtime packages in the path. eg rtl70.bpl I have Build with runtime packages unticked, so shouldn't they be complied into the exe? Edit: the Project uses Jedi Packages (TJvPlugin) and running the program with out any plugin installed works fine. As Soo...

Delphi - .bpl plugins for application - problem while loading > 1 plugin.

Hi, I'm using TJvPluginManager to build simple application with ability to load .bpl plugins. I have common interfaces declaration in "uIntfs.pas" file, which is kind of SDK ;) The problem is, that if I try to load more than one plugin, the app throws an error: Cannot load package 'test2'. It contains unit 'uIntfs,' which is als...

Plugins system for Delphi application - bpl vs dll?

Hi, I'm writing delphi app which should have capability of loading plugins. I'm using JvPluginManager as plugin system/manager ;) Now, in the new plugin wizard they say it's better to use .bpl type plugins instead of .dll plugins ... What are the pros of this solution versus dll type plugins? So far I've found only cons of this solution...

Delphi: .exe with built-in packages: 600kb, .exe + external BPLs: 6MB. Why is that?

Hi, if I compile .exe file in delphi with built-in packages, it generates about 600kb EXE file. However if I compile it with runtime packages, the sum of sizes (.exe + all required .BPLs) is about 6-8 MB (depending on version of compiler). Why is the difference so significant? ...

How do I call Delphi functions in a bpl from an executable?

I have a Delphi application that I have written a fairly simple wrapper .exe for. Basically, there was a dll that had a bunch of functions, one of which I would call iteratively once my wrapper did what it needed to. I am not in control of this dll file, and will never be. Well, now this DLL is a BPL, and I'm not sure how to call func...

Delphi - unmangle names in BPL's

Is it possible to unmangle names like these in Delphi? If so, where do I get more information? Example of an error message where it cannot find a certain entry in the dbrtl100.bpl I want to know which exact function it cannot find (unit, class, name, parameters, etc). --------------------------- myApp.exe - Entry Point Not Found ------...

Get BPL File Name

From within a BPL, is it possible to get its own file name? e.g. C:\foo\bar.bpl (dynamically loaded and delphi7, if it matters) ...

Loading BDE BPL from another directory

Using Delphi 2010 and a patched version of the BDE I run into a problem loading the BDERTL140.bpl. Loading DCLBDE140.bpl from another directory then usual works fine. Only when I want to load the BDERTL140.bpl, it always tells me that it has been loaded already from the Windows system directory. Which packages load the BDERTL140.pbl, a...

Returning a string from a BPL function

have a function, simplified below, that is exported from a BPL function DoA(amount: currency; var Info: string): Currency; stdcall; begin result := amount * 19; Info:= 'Some Text about the result'; end; its loaded from the main program with LoadPackage, and GetProcAddress which works fine for the other functions. but this one br...

Loading a Delphi Object Run Time using BPL

I have a class in a unit. Usually, when I changed the algorithm of its methods, I have to recompile it and deliver the patch as a whole. I think to create the instance of the class using DLL. After searching in delphi.about.com, I found that instead of using DLL, I can use BPL. It is a DLL for Delphi. The problem is almost all examples I...

rtl100.bpl was not found?

I am learning a component from TMS. I got "...rtl100.bpl was not found...". probably this error was happened if I use "Build with runtime packages" that contains "rtl". Where is rtl100.bpl (I am using D2007)? What should I do to fix this error? ...

Delphi plugin framework

Hello, I want to design Delphi plugin framework. There are three options: 1. DLL 2. BPL 3. COM interface Every option has some disadvantage. DLL - Promblem with MDI apllication, forms from plugin cannot be embeded to the host exe - mdi application. BPL - Every *.bpl plugin and *.exe host application must be compiled with the same versi...

How to use Delphi Dlls without enabling Build with runtime packages

Recently i started a project with so many forms , frames and extra controls, so my application was swelling up and i am using 3 exes in my projects(all made in Delphi 2009) and these applications are also sharing same frames and forms. so i used dlls to share these forms. but a problem came saying different Tfont error. so i refferd on...

delphi exe and dll without build with runtime packages

For my last project i was using many frames in my delphi application ,so i dicided to create dlls and put them inside the dlls(ALL created in Delphi) i have gone through many websites and came up with the code that works but for that example i have to compile both apps and dlls with build with runtime packages which means i have to dist...

Load Tframe from bpl to application

I am trying to load a tframe inside a delphi package (bpl) to be shown in my main app please give me code for both package and application. ...