Question

I'm trying to recompile an old Deplhi 5 project but I'm receiving a fatal error saying some of the files are missing.

I've found around 20-25 of the missing components on the Internet, but can't seem to find "LibIntf.pas". Where abouts can I find or download this missing file?

Was it helpful?

Solution

If the compiler tells you you're missing LibIntf.pas, then you're not really missing anything. You're not supposed to have that file. That unit is provided by a design-time package distributed with the IDE. Code that uses that unit can only be used as part of another design-time package. To make it compile, your design-time package should have DesignIDE.dcp in its "requires" list.

Your license forbids you from distributing Delphi's design-time code. The "missing" package serves to enforce that rule. DesignIDE is only usable by other packages, not applications, so if your application tries to use any of its units (like LibIntf or DsgnIntf), then compilation will fail. You need to split the code that needs those units into a separate design-time package.

OTHER TIPS

1) do not mistake units and components. One unit may declare a hundred of components. So be clear about what your are searching.

2) Google. just Google. http://google.com/search?q=LibIntf.pas

The 1st link is in russian, the 2nd one is in English: http://delphigroups.info/2/54/173805.html

In short - you does not have the pas, you should enable runtime packages (if your project is EXE or DLL) and include designide.bpl (or was it designide50.bpl?) or add designide.dcp to Required section of project options (if the project is DPK)

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top