Directshow9 Delphi 7 error

Asked

Viewed 84 times

3

Good afternoon, you guys! I’m having an error compiling my project in Delhphi 7, when I compile it gives me the following error Fatal

[Fatal Error] AUTOINSTALLER.dpr(6): Unit Directshow9 was Compiled with a Different version of Directdraw.Idirectdraw

what might be going on? I’ve put the Directshow9 file in the project folder.

  • 2

    The version is different from the one you are using... You have updated the component?

  • 1

    I didn’t update, I’ll see it now

1 answer

5


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

There are several possible solutions - 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 with the source code.

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

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

To solve the problem in this case:

Open and save it with a new name. Change all references to in clauses used to refer to the new name. Delete the old versions . pas and . dcu from this unit. Recreate the project.

Taken from: http://docwiki.embarcadero.com

  • 1

    +1 For the correct answer, it is worth remembering that this problem cannot be solved if it does not have the .pas.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.