Jak rozwiązać problemu braku pliku Dsgnintf.dcu

angel2953

Często w trakcie kompilacji niektóych komponentów pojawia się błąd mówiący o braku pliku dsgnintf.dcu. Jest on potrzebny do skompilowania niektórych komponentów, a musi się znaleźć w katalogu Lib. Poszukaj! Jeżeli nie masz wersji skompilowanej to masz plik *.pas (zapewne). Wtedy musisz ten moduł skompilować i umieścić w katalogu Lib.

Kompilacja do *.dcu

Często przy kompilowaniu SynEdit wyskakuje błąd o braku pliku dsgnIntf.dcu. Oto prosty sposób jak można go sobie samemu zrobić:

#Skopiuj plik dsgnintf.pas do katalogu Bin
#Utwórz skrót do DCC32.EXE w polu target dopisz na końcu dsgnIntf.pas całość powinna wyglądać tak: "C:\Program Files\Borland\Delphi\Bin\DCC32.exe" dsgnintf.pas
#Uruchom utworzony skrót.
#W katalogu bin ukaże Ci się plik dsgnIntf.dcu!

Po co kompilować plik dsgnintf.pas skoro działa w postaci nieskompilowanej?

Nie zawsze będzie działać jako plik *.pas. Przykładowo Delphi6PE wymaga pliku dsgnintf.dcu! A poza tym w ten sposób można skompilować każdy plik *.pas.

Rozwiazanie problemu do Delphi 6 dotyczacego pliku DsgnIntf.dcu

Plik ten jest pod nazwa: DesignIntf.dcu. Trzeba zamiast DsgnIntf.dcu napisac DesignIntf.dcu.
Te i inne informacje o zmianach mozna znalesc w plikum pomocy Delphi 6.

Zobacz też:

FAQ

3 komentarzy

C:\Program Files\Borland\Delphi7\Bin>DCC32.EXE DSGNINTF.PAS
Borland Delphi Version 15.0
Copyright (c) 1983,2002 Borland Software Corporation
DSGNINTF.PAS(180) Error: Undeclared identifier: 'IDesigner'
DSGNINTF.PAS(1704) Error: Undeclared identifier: 'Modified'
DSGNINTF.PAS(1925) Error: Undeclared identifier: 'SInvalidPropertyValue'
DSGNINTF.PAS(1964) Error: Undeclared identifier: 'SInvalidPropertyValue'
DSGNINTF.PAS(2283) Error: Undeclared identifier: 'SInvalidPropertyValue'
DSGNINTF.PAS(2319) Error: Undeclared identifier: 'SCannotCreateName'
DSGNINTF.PAS(2339) Error: Undeclared identifier: 'GetRoot'
DSGNINTF.PAS(2353) Error: Undeclared identifier: 'SCannotCreateName'
DSGNINTF.PAS(2388) Error: Undeclared identifier: 'GetRoot'
DSGNINTF.PAS(2389) Error: Operator not applicable to this operand type
DSGNINTF.PAS(3127) Error: Undeclared identifier: 'SInvalidPropertyValue'
DSGNINTF.PAS(4007) Error: Undeclared identifier: 'SInvalidCategory'
DSGNINTF.PAS(4268) Error: Undeclared identifier: 'SInvalidFilter'
DSGNINTF.PAS(4326) Error: Undeclared identifier: 'SActionCategoryName'
DSGNINTF.PAS(4331) Error: Undeclared identifier: 'SActionCategoryDesc'
DSGNINTF.PAS(4338) Error: Undeclared identifier: 'SDataCategoryName'
DSGNINTF.PAS(4343) Error: Undeclared identifier: 'SDataCategoryDesc'
DSGNINTF.PAS(4350) Error: Undeclared identifier: 'SDatabaseCategoryName'
DSGNINTF.PAS(4355) Error: Undeclared identifier: 'SDatabaseCategoryDesc'
DSGNINTF.PAS(4362) Error: Undeclared identifier: 'SDragNDropCategoryName'
DSGNINTF.PAS(4367) Error: Undeclared identifier: 'SDragNDropCategoryDesc'
DSGNINTF.PAS(4374) Error: Undeclared identifier: 'SHelpCategoryName'
DSGNINTF.PAS(4379) Error: Undeclared identifier: 'SHelpCategoryDesc'
DSGNINTF.PAS(4386) Error: Undeclared identifier: 'SLayoutCategoryName'
DSGNINTF.PAS(4391) Error: Undeclared identifier: 'SLayoutCategoryDesc'
DSGNINTF.PAS(4398) Error: Undeclared identifier: 'SLegacyCategoryName'
DSGNINTF.PAS(4403) Error: Undeclared identifier: 'SLegacyCategoryDesc'
DSGNINTF.PAS(4410) Error: Undeclared identifier: 'SLinkageCategoryName'
DSGNINTF.PAS(4415) Error: Undeclared identifier: 'SLinkageCategoryDesc'
DSGNINTF.PAS(4422) Error: Undeclared identifier: 'SLocaleCategoryName'
DSGNINTF.PAS(4427) Error: Undeclared identifier: 'SLocaleCategoryDesc'
DSGNINTF.PAS(4434) Error: Undeclared identifier: 'SLocalizableCategoryName'
DSGNINTF.PAS(4439) Error: Undeclared identifier: 'SLocalizableCategoryDesc'
DSGNINTF.PAS(4446) Error: Undeclared identifier: 'SMiscellaneousCategoryName'
DSGNINTF.PAS(4451) Error: Undeclared identifier: 'SMiscellaneousCategoryDesc'
DSGNINTF.PAS(4458) Error: Undeclared identifier: 'SVisualCategoryName'
DSGNINTF.PAS(4463) Error: Undeclared identifier: 'SVisualCategoryDesc'
DSGNINTF.PAS(4470) Error: Undeclared identifier: 'SInputCategoryName'
DSGNINTF.PAS(4475) Error: Undeclared identifier: 'SInputCategoryDesc'
DSGNINTF.PAS(4487)

poco go kompilowac skoro chodzi w postaci pas?

Cala masa literowek!