Форум: "Основная";
Текущий архив: 2004.05.02;
Скачать: [xml.tar.bz2];
ВнизОбладатели Delphi 5 или BCB 5 дайте DsgnIntf.dcu PLS! Найти похожие ветки
← →
ЕвгенийК (2004-04-13 16:06) [0]У меня видимо в инсталяшке BCB5 отсутствовал этот файл.
Не могу зарегистрировать компоненты от Delphi !
У кого есть DsgnIntf.dcu пожалуйста дайте ссылку где скачать или киньте на мыло 1833@e-mail.ru
Премного благодарен
← →
Amoeba © (2004-04-13 16:11) [1]Это ответ с http://www.delphifaq.com/fq/q4060.shtml
DsgnIntf.dcu not found (Delphi 2 - 5)
Question:
My component uses the toolsapi unit DsgnIntf and when I compile an application that uses this component, I get an error message ‘DsgnIntf.dcu not found’.
Answer:
You have to modify the design of your component. If it is not your own component, and you do not have source / time to modify it, then you can help yourself by adding \Delphi\Source\ToolsAPI to the library search path.
The better way – which Borland expects component developers to choose – is the following:
In your component separate out the design-time code into a separate unit. At the bare minimum, this will be the code that actually registers the component on the palette, but would also include any other design-time stuff such as property or component editors.
You then need to make a run-time only package that contains what is left after taking out the design time stuff. Compile this first and this will produce a .DCP file A good tip here is to set Delphi to direct all DCP and BPL files to one folder.
Then you can make the design-time package. This will refer to the run-time code by having the DCP that you have just made in the Requires section and will have the design-time unit that you made earlier in the Contains section. Compile and Install this package, and hopefully your Component will appear on the palette.
Once you have successfully done this, you should be able to compile any application that uses your component without the DSGNINTF.DCU message appearing. This is because your app will only have the reference to MyComponent.pas.
← →
Amoeba © (2004-04-13 16:18) [2]DsgnIntf.pas найдешь в Sources|ToolsApi
Страницы: 1 вся ветка
Форум: "Основная";
Текущий архив: 2004.05.02;
Скачать: [xml.tar.bz2];
Память: 0.45 MB
Время: 0.038 c