Delphi custom components used in the project when tpropertyeditor is involved

I have a problem running my project, created in Delphi CodeGear, which contains my own components. They (components) use property identifiers, so I use designide.dcp and it compiles well and the components are displayed on the toolbar. But, when I use them in a new project, I can not start it. It says: "dcc" came out with the code 1 "?! I also included the package in the project at runtime because it did not compile otherwise. Please help

+3
source share
3 answers

You are probably compiling TPropertyEditor into a package marked only by runtime.

The best solution is to create two packages, one of which contains only the component code and which is marked as a runtime package, and the other, marked as development time, requires your previous runtime and contains TPropertyEditor.

In addition, you can compile a single package, but mark the package as runtime and development time.

For a simple example of how it is presented, see the article here:

http://blogs.embarcadero.com/nickhodges/2010/01/06/39345

and the code that it refers to is here:

http://sourceforge.net/projects/tsmiley/

+4
source

, , QC. , " ".

, , dcus / runtime , .

, , , . , " 1" " ". ?

0

/ - . , Evironment Delphi . , , delphi

0

Source: https://habr.com/ru/post/1781518/


All Articles