Error DirectShow9 Delphi 7

2

Good afternoon! I have an error compiling my project in Delhphi 7, when compiling it it gives me the following Fatal error

[Fatal Error] AUTOINSTALADOR.dpr (6): Unit DirectShow9 was compiled with a different version of DirectDraw.IDirectDraw

What can be happening? I've already put the Directshow9 file in the project folder.

    
asked by anonymous 27.04.2018 / 19:22

1 answer

4
This fatal error occurs when the symbol declaration declared in the interface portion of a drive has changed and the compiler can not recompile a drive that depends on this statement because the source is not available to it.

There are several possible workarounds - recompile Unit1 (assuming you have the source code available), use an older version of Unit2, or change Unit2, or get a new version of Unit1 from anyone who has the source code.

This error can also occur when a drive in your project has the same name as a default Delphi drive.

For example, this may occur when compiling a project written in an earlier version of Delphi that does not have a drive with this name (for example, search.pas was not in Delphi 3).

To resolve the issue in this case:

Open it and save it under a new name. Change all references to in uses clauses to refer to the new name. Delete the old .pas and .dcu versions of this drive. Re-create the project.

Retrieved from: link

    
27.04.2018 / 19:34