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.

Empfohlene Antworten

Veröffentlicht

Hi,

Ich dreh noch durch! Wer weiß wie ich den sch*** Error wegbekomme?

Generieren von Code...

Linker-Vorgang läuft...

DlgNewEntry.obj : error LNK2005: "bool __cdecl VAtoi(class CString,int &)" (?VAtoi@@YA_NVCString@@AAH@Z) bereits in DataTimeEdit.obj definiert

TimePlanerView.obj : error LNK2005: "bool __cdecl VAtoi(class CString,int &)" (?VAtoi@@YA_NVCString@@AAH@Z) bereits in DataTimeEdit.obj definiert

Debug/TimePlaner.exe : fatal error LNK1169: Ein oder mehrere mehrfach definierte Symbole gefunden

Fehler beim Ausführen von link.exe

Ich beis gleich meine Tischplatte durch... :eek:

Aus dem Stehgreif:

Überprüf mal deine Includes. Schaffst du mit dem Framework ?

Wenn nein (vielleicht erzähl ich Dir hier nichts neues) dann setz einfach am anfang deiner Header-Dateien

#ifndef "diese Datei"

#define "diese Datei"

....

#endif

Könnt aber auch was ganz anderes sein *g*

Verschieb die Implementierung von VAtoi in die Datei DataTimeEdit.cpp, und lass in DataTimeEdit.h nur die Deklaration stehen:

bool VAtoi(CString str, int &res);

Das gleiche solltest Du mit allen Funktionen machen, deren Implementierungen in .h-Dateien stehen, um zukünftige Linkerfehler zu vermeiden.

Erstelle ein Konto oder melde dich an, um einen Kommentar zu schreiben.

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.