bpl

Build project package C++ Builder

耗尽温柔 提交于 2019-12-11 09:12:47
问题 I have written a GUI forms application in C++ Builder and am wanting to be able to run the .exe on another computer. I am getting some .bpl errors when trying to run the .exe on another computer. How can I combine all the required files into a 'package' such that the .exe can be run on computers that do not have the required files? I have done Project->Deployment and a list of files have appeared, including the .bpl file. However, what do I do from here? thanks 回答1: Your .exe has dependancies

Delphi plugin framework

妖精的绣舞 提交于 2019-12-09 09:18:23
问题 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 version of Delphi. COM - Interfaces {xxx-xx-xxx-xx} must be registered in system, (regsvr) So plugin framework cannot be portable! Is everything true what I wrote above? If

Load Tframe from bpl to application

旧巷老猫 提交于 2019-12-08 05:26:18
问题 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. 回答1: Give a man a fish and he eats for a day, learn a man to fish and he eats his whole life. So no code for you :) How you should do it: Start Delphi, Create a new package. Add a TFrame to your bpl Save and compile, you should now have a .bpl and a .dcp. Close all Create a new application In your project properties, turn on "Build with Runtime packages"

External modules security

。_饼干妹妹 提交于 2019-12-06 16:47:51
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 Simple idea (1): I assume your clients all have some sort of unique ID (serial number, license number). When you legitimately give an BPL to one of your clients, give him two files: The

Loading a Delphi Object Run Time using BPL

♀尐吖头ヾ 提交于 2019-12-06 08:54:39
问题 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 found is only telling how to export a function. I want to dynamically load the BPL, and whenever I replace the BPL, I can get the latest algorithm of the

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

依然范特西╮ 提交于 2019-12-05 05:26:13
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. The easy way to use functions from a package is to "use" the unit that contains the function, call it as usual, and put the package on the list of your project's runtime packages. For that to work, there are a few

Loading a Delphi Object Run Time using BPL

不羁的心 提交于 2019-12-04 13:14:05
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 found is only telling how to export a function. I want to dynamically load the BPL, and whenever I replace the BPL, I can get the latest algorithm of the class, not only the functions I export. Article I have read: - http://delphi.about.com/od/objectpascalide

Delphi App has “No Debug Info” when Debugging

依然范特西╮ 提交于 2019-12-01 15:14:21
We have built an application that uses packages and components. When we debug the application, the "Event Log" in the IDE often shows the our BPLs are being loaded without debug information ("No Debug Info"). This doesn't make sense because all our packages and EXEs are built with debug. _(each project) | Options | Compiling_ [ x ] Assertions [ x ] Debug information [ x ] Local symbols Symbol reference info = "Reference info" [ ] Use debug .dcus [ x ] Use imported data references _(each project) | Options | Linking_ [ x ] Debug information Map file = Detailed We have 4 projects, all built with

Delphi App has “No Debug Info” when Debugging

北城余情 提交于 2019-12-01 14:05:53
问题 We have built an application that uses packages and components. When we debug the application, the "Event Log" in the IDE often shows the our BPLs are being loaded without debug information ("No Debug Info"). This doesn't make sense because all our packages and EXEs are built with debug. _(each project) | Options | Compiling_ [ x ] Assertions [ x ] Debug information [ x ] Local symbols Symbol reference info = "Reference info" [ ] Use debug .dcus [ x ] Use imported data references _(each

Missing .bpl files

谁说胖子不能爱 提交于 2019-12-01 11:21:54
After compiling a FireMonkey project and executing the app on another PC I've encountered an error - "rtl190.bpl is missing". So I searched google and I found the "solution" which didn't work for me. It said that I should uncheck "Link with Dynamic RTL" and "Link with Delphi runtime...". Indeed after compiling, the executable is bigger, but still I'm encountering the exact same error. I must copy "rtl190.bpl" and "fmx190.bpl" manually to exe's directory in order to make it work. How can I fix this problem? You should also uncheck Build with runtime packages under: Project-> Options-> Packages-