bpl

Can't load package %s error while installing a package

我的未来我决定 提交于 2020-06-12 06:22:09
问题 I'm testing on Delphi 2007 and my groupproject is composed by 2 packages. PackageRun.bpl It's marked as "runtime only" and contains a unit named "uMyTestRun.pas" in which is defined an empty TFrame descendant: unit uMyTestRun; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs; type TMyTest = class(TFrame) private { Private declarations } public { Public declarations } end; implementation {$R *.dfm} end. PackageDes.bpl It requires PackageRun.bpl,

Can't load package %s error while installing a package

谁都会走 提交于 2020-06-12 06:22:08
问题 I'm testing on Delphi 2007 and my groupproject is composed by 2 packages. PackageRun.bpl It's marked as "runtime only" and contains a unit named "uMyTestRun.pas" in which is defined an empty TFrame descendant: unit uMyTestRun; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs; type TMyTest = class(TFrame) private { Private declarations } public { Public declarations } end; implementation {$R *.dfm} end. PackageDes.bpl It requires PackageRun.bpl,

Load Frames from packages

不羁的心 提交于 2020-01-07 06:24:12
问题 I have three frames inside separate three bpls, in my main application i have created three buttons and , i want to call the frames dynamically(one at a time )when the respective button is clicked (the frame can be shown in any control eg : TPanal) i have already done such a thing using Dlls but some in the Stack overflow community recommended me to use bpl (they said it is easy ), my previous post 回答1: Here there's an article about loading a form from a package (bpl file): http://edn

External modules security

主宰稳场 提交于 2020-01-03 02:55:14
问题 I am developing some external modules for an application. These modules are BPL files and if present in the application folder the application loads them and uses whatever is available inside. How can I prevent the sharing of these modules by my clients? I need them to be authorized to use the modules (module by module). To have some sort of license, registration of the module, what is the best method? Thanks 回答1: Simple idea (1): I assume your clients all have some sort of unique ID (serial

Delphi - unmangle names in BPL's

北城以北 提交于 2019-12-29 04:02:24
问题 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 --------------------------- The procedure entry point @Dbcommon@GetTableNameFromSQLEx$qqrx17System@WideString25Dbcommon@IDENTIFIEROption could not be located in the

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

假装没事ソ 提交于 2019-12-22 04:33:47
问题 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 functions within that file. Thanks in advance. 回答1: The easy way to use functions from a package is to "use" the unit that contains the function, call it as usual,

delphi exe and dll without build with runtime packages

▼魔方 西西 提交于 2019-12-19 04:55:10
问题 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 distribute the bpls also. and if dont check build with runtime packages error is coming this is the code i found in exe procedure TForm1.Button1Click(Sender:

Plugins system for Delphi application - bpl vs dll?

三世轮回 提交于 2019-12-17 10:36:49
问题 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: I have to put all the common interface units in separate package so that while loading plugins it won't throw any error about the other package containing common

Delphi XE not finding a BPL

徘徊边缘 提交于 2019-12-13 07:01:32
问题 I'm having trouble in Delphi XE, I have a project which uses QRDesign (part of QuickReports). The error I'm getting when I view a unit that uses QRDesign is: "The program can't start because QRDBASE_DXE.bpl is missing from your computer. Try reinstalling the program to fix this problem." If I don't open the unit everything compiles fine. Interestingly if I uninstall this and another package (dclqrd_DXE.bpl - also part of QRDesign), restart the IDE, recompile and reinstall these packages it

Recompile Delphi 64-bit vcl250.bpl

北城以北 提交于 2019-12-11 17:38:40
问题 I wish to make a fix to StyleUtils.inc in Delphi Tokyo. My project is linking with runtime packages. My app is 64-bits and so I would like to rebuild the vcl250.bpl in the ..\Redist\win64 directory. I do realize that StyleUtils.inc is listed as not 64-bit compatible at the top of the file. //TODO -oUnassigned -cImplement : x64 : Implement PlatformNotImplemented in this unit or disable for x64. However, until some changes were made in Tokyo, the code had been very stable in Berlin. The error