Questions tagged [runtime-packages]

21 questions
13
votes
2 answers

Understanding package imports in the .cbproj file

I am using Embarcadero RAD Studio 2010 (C++). The project file (.cbproj) has five different tags that contain lists of .bpis or .libs. I would like some information about how each of these lists of library files is used by the linker (when…
Jeff Wilhite
  • 1,687
  • 13
  • 21
8
votes
3 answers

Get list of required BPLs for a given DLL, EXE or BPL

I'm wondering if anyone knows of an elegant way of determining what BPLs are required by a given (compiled) DLL, EXE or BPL. I'm not sure if this is even possible shy of simply scanning the binary for text references to .bpl filenames (which would…
LaKraven
  • 5,804
  • 2
  • 23
  • 49
7
votes
3 answers

Why am I getting "Unable to load DLL 'sqlite3'" in my WPF app?

I added what I thought were the necessary SQLite (and sqlite-net) packages to my app. On running it, though, I get an exception: System.DllNotFoundException was unhandled by user code HResult=-2146233052 Message=Unable to load DLL 'sqlite3': The…
6
votes
1 answer

How to solve "Need imported data reference" while building with runtime packages

To help us modularize a monolithic application, we are in the process of setting up packages for use in debug builds, while still compiling to a single exe for release builds. One of our packages (EAUtils) contains a unit that is now producing [DCC…
Marjan Venema
  • 19,136
  • 6
  • 65
  • 79
5
votes
2 answers

Passing a method-containing record between host application and DLL

Is it possible (without the use of Runtime Packages or the Shared Memory DLL) to pass a Record type between the host application and a DLL module where the Record type contains Functions/Procedures (Delphi 2006 and above)? Let's presume for the sake…
LaKraven
  • 5,804
  • 2
  • 23
  • 49
5
votes
1 answer

How to get a list of loaded run time packages?

I'm creating a "Version Info" dialog box for my applications; something similar to the one Delphi has in the "About" dialog box. I'd like to display the version information only for the run time packages (.BPL files), and not all the loaded DLLs.…
iMan Biglari
  • 4,674
  • 1
  • 38
  • 83
4
votes
1 answer

Delphi XE2: Application build with runtime package with FireMonkey framework

We can build VCL Win32 application with runtime packages (*.bpl). These package can be loaded and unloaded dynamically or statically. Do we have similar development option with the new FireMonkey framework in Delphi XE2?
Chau Chee Yang
  • 18,422
  • 16
  • 68
  • 132
2
votes
0 answers

Can XML Documentation be used with runtime-packages

I'm working on a new project with Delphi 10.2 Tokyo, where I would like to use Runtime Packages to give other developers the possibility to use parts of my code in their own projects. So I created a Runtime Package and used it in another Delphi VCL…
fisi-pjm
  • 378
  • 2
  • 16
2
votes
1 answer

Link with runtime packages

When i build a project with "Link with runtime packages" set to true the output exe is very small, on my pc the exe is working fine but some people get the error that rtl190.bpl is missing. How can i fix this? I still want a small output file.
jwz104
  • 337
  • 2
  • 10
  • 22
1
vote
1 answer

What are the Delphi XE2 VCL Runtime BPLs?

The old Delphi 7, uncheck runtime packages and build all trick doesn't seem to work anymore so I can't restore whatever would be a good set of runtime BPL's for my Delphi project. I've got a problem, which I will probably ask another question about…
Peter Turner
  • 11,199
  • 10
  • 68
  • 109
1
vote
0 answers

Where to call FreeLibrary for DLLs used by dynamic packages?

I have a dynamically loaded BPL package which uses a third part library who loads a DLL. After calling UnloadPackage for my BPL package, the application still locks the DLL file. var MyPackageHandle : THandle; MyPackageClass : TPersistentClass; …
Fabrizio
  • 7,603
  • 6
  • 44
  • 104
1
vote
1 answer

How to get the dynamic package from which a TPersistentClass comes from?

My application is built using runtime packages and loads them by using the LoadPackage function. Then it uses the GetClass function to obtain class types. var MyClass : TPersistentClass; begin if(LoadPackage('.\PackageA.bpl') = 0) then raise…
Fabrizio
  • 7,603
  • 6
  • 44
  • 104
1
vote
1 answer

When to compile apps that use a changed runtime package

I'm using Delphi XE2. I have a large project that has an application (EXE) that uses runtime packages, a Core.bpl custom package (used by the EXE) and several other custom Plugin.bpl packages that also use the Core.bpl package (as a runtime…
James L.
  • 9,384
  • 5
  • 38
  • 77
0
votes
0 answers

Can't import class from jar file although it's visible among IntelliJ External Libraries

Like screenshot shows. I have project party-management that uses common-lending-lib. common-lending-lib then uses math2 library. When I open common-lending-lib project, it can easily detect math2 dependency and use it. When I open…
Krzysztof
  • 129
  • 2
  • 11
0
votes
0 answers

Delphi 10 : showing a DLL's form when compiling with runtime packages

Sorry if this question has been asked in the past, but i'm confused! I have an app and a DLL, both in Delphi. The Dll has a form that i want to show(no modal) inside a Groupbox. In the main app i have enabled runtime packages. In the DLL if i…
JimPapas
  • 715
  • 2
  • 12
  • 27
1
2