Skip to main content

Avertissement du compilateur C0567

Message: L'interface <nom de l'interface 1> n'étend pas __System.IQueryInterface

Cause possible: Chaque interface d'une bibliothèque d'interfaces doit étendre __System.IQueryInterface. L'interface utilisée ne s'étend pas __System.IQueryInterface.

Exemple 500. Exemple
PROGRAM PLC_PRG
VAR
    ITFref : ITF;
    ITFref2 : ITF2;
END_VAR

INTERFACE ITF
INTERFACE ITF2 EXTENDS ITF

Message:

C0567 : L'interface ITF n'étend pas __System.IQueryInterface

Correction:

INTERFACE ITF EXTENDS __System.IQueryInterface

Pour un aperçu de toutes les règles à suivre pour les bibliothèques d'interface, voir : Bibliothèques d'interfaces