Jump to content
View in the app

A better way to browse. Learn more.

Tinkerunity

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[Delphi-Bindings] Dekl. GetIdentity untersch. sich von vorheriger Dekl.

Featured Replies

Geschrieben

Ich bekomme unter Delphi 7 bei der Migration auf das neue Prot.V2 die o.g. Fehlermeldung. In den Ableitungen dürfen m.E. die abstrakten Methoden (aus TDevice) nicht das Schlüsselwort overload bekommen. Es müsste reintroduce sein.

Deklaration_GetIdentity_unterscheidet_sich_von_vorheriger_Deklaration.png.f4f40134f795a6e1e125369984486a76.png

Geschrieben

Ich denke du hast hier das gleiche Problem wie Bralph in diesem Thread:

 

http://www.tinkerunity.org/forum/index.php/topic,1357.0.html

 

Wenn ich das richtig sehe ist overwrite hier richtig, weil GetIdentity aus TDevice ja wirklich überschrieben werden soll. reintroduce überschreibt nicht wenn ich das richtig verstehe. Das Problem hier liegt in der mehrfachen Definition von TArray0To2OfUInt8. Ich bin dabei das zu korrigieren.

Geschrieben
  • Autor

Komisch, wenn ich overload weglasse oder durch reintroduce tausche, gibt es keine Fehler mehr, mit TArray0To2OfUInt8 komme ich da anschließend überhaupt nicht in Konflikt.

Geschrieben
  • Autor

Ah, jetzt hab ich es auch, macht einen Unterschied, ob man die Unit BrickStepper im Projekt eingebunden hat oder nicht. Wenn ich BrickStepper weglasse, kann ich overload als Schlüsselwort bei den Abl. stehenlassen.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Gast
Reply to this topic...

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.