My runtime packages (and error U931)
Posted on 2001-08-08
I created long ago some packages for design-time. One of them incidentally (let's call it mylow.dpk) didn't have anything to register and other one (let's call it mycomp.dpk) did have some components. There is at least one other package (let's call it super.dpk) that has components and uses mycomp.dpk.
Now I want to switch to runtime libs.
First step: I check runtime libs and I delete all stuff in the RTlibs except for the VCL, VCLDB and so. It compiles OK, it runs OK, the EXE is significantly smaller.
Step2: I add to the list of RTlibs the package mylow.dpk (I'm using units from that in the project). It compiles again OK; all is OK.
Step3: I add to that list the package mycomp. Project compiles OK, but after compilation ends Delphi unloads super.dpl saying that something needed is missing. After that I start getting randomly Internal Error U931 on compiling.
The size of the mycomp.dpl created with Project build is significantly smaller than the size obtained when compiling the package directly.
Bottom line: How can I create runtime packages of my own, containing design-time components, too, besides the packages coming from Borland?
It's D3 CS. Please do not tell me to call tech support on that U931 error.
If I didn't manage to be clear enough, please ask for more detail or even for a rephrase of the question.