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.

Simple Sache läuft unter XP & 2000, aber nicht unter 98, ME, NT

Empfohlene Antworten

Veröffentlicht

Ich habe da ein komisches Problem unter VC7...

Irgendwo habe ich ein ganz normales CEdit Control, welches ich über eine Member-Variable mit einem CString befülle. Das klappt unter Windows XP und Windows 2000 auch wunderbar. Allerdings Windows98, ME und NT stürzen ab, selbst wenn ich alle Optimierungen ausschalte und ja nichts direkt als Unicode oder MBCS anlege. Die Präcompiler-Definition sind auf WIN98, _WIN98 und WINDOWS gesetzt...

CString name;

name = "ist ja egal was drin steht";

CEdit m_SNRAlias; // so wird angelegt und dazu halt noch die DDX-Controls.

m_SNRAlias.SetWindowText( name ); // führt zum gnadenlosen Absturz, aber nicht bei XP & 2000!!! (??? WIESO ???)

Lege ich das als CString-Variable an und aktualisiere mit UpdateData(false); klappt alles natürlich korrekt, was aber den obigen Fehler nicht erklärt.

Hat jemand eine Ahnung woran das liegen könnte?

  • Autor

Ich werde mir morgen auf dem W98-Rechner das Studio installieren um es genauer debuggen zu können. Ich habe das mit Try-Catch-Blöcken und Asserts bisher gemacht. Klar ist, daß diese Zeile Probleme bereitet und noch ein paar andere "Kleinigkeiten" nicht stimmen. Im Kompatibilitätsmodus als W98 unter XP läuft alles ohne jeglichen Fehler... komisch. Ich vermute ja, es könnten irgendwelche DLLs sein, doch die linke ich eigentlich alle statisch.

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.