I would like to create a unit file with a number of functions and procedures in this unit (let's call it MyFuncs.PAS).
I would also like to create a package containing this unit (MyFuncs.PAS) which I would like to distribute as a runtime package.
Further more, I would like to:
1) dynamically load this runtime package from my main project
2) use the functions & procedures contained within the units in this runtime package from my main project
3) I would like to be able to change properties of components in my main EXE from function/procedures contained within this runtime package.
I know how to create a new package (I just included MyFuncs.PAS in the pakage file and told it to compile a runtime only package (BPL-file)).
I then switched the options for my project to compile with runtime packages and added this new package (MyPackage.bpl) to the list of runtime packages.
I've places a button on the main form of my app. This is it's OnClick event:
x := LoadPackage('MyPackage.dpl');
//TestFunc is a function in my MyPackage
The problem is that every time I try and compile my project I get "undeclared identifier TestFunc".
Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.
The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
This Article will show you how to validate number with TEdit control,
What's the TEdit control?
TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…