Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

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.

Borland C++ Builder 6: Neue Unit für Funktionen einfügen

Empfohlene Antworten

Hallo,

ich würde gerne meine Funktionen und Klassen alle in einer extra Unit deklarieren

anstatt alles in einem Dokument zu machen, der Übersichtlichkeit wegen.

Wenn ich allerdings Datei->Neu->Unit mache und dann in diese Unit die Funktionen einfüge kommt immer "Fehler in der Deklarationssyntax" obwohl die Funktionen so in der normalen Unit ohne weiters funktionieren.

Muss ich da evtl etwas vorher noch mit einbinden in der neuen Unit. Zum Projekt hinzugefügt hab ich sie schon.

Gruß,

SimonLZ

Versuch mal am Anfang der neuen Unit die "vcl.h" zu includieren.

Hallo,

hab das jetzt gemacht aber er meldet jetzt komischerweise

[Linker Warnung] Public symbol '_Ansi_BestellungSubject1' defined in both module G:\OUTLOOK\UNIT1.OBJ and G:\OUTLOOK\UNIT2.OBJ

und kompiliert weiter... d.h. das Programm funktioniert auch wie es soll, aber es kommt immer beim kompilieren diese hässliche Fehlermeldung :-/

Hab auch schon probiert die vcl.h nur in Unit2 einzubinden, auch dann diese Fehlermeldung.

KAnn mir da jemand helfen? Natürlich hab ich den code den ich in Unit2 kopiert habe in Unit1 gelöscht, so dass er nur einmal vorkommt!

:(

Lösch einfach mal sämtliche *.obj-Dateien und die *.tds-Datei. Dann sollte die Warnung weg sein.

Kommt dann leider immernoch, keinerlei Änderung :(

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

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.