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

Hallo wiedermal,

ich habe einen Hauptdialog in dem ein anderer Dialog mit DoModal geöffnet wird. Dieser Dialog hat ein Text-Edit-Feld, in das nur Zahlen eingetragen werden können.

Wenn ich eine Zahl eingeben will, springt er gleich nach dem Tastendruck raus mit folgender Fehlermeldung:

"Unbehandelte Ausnahme bei 0x00534125 in [Programm].exe: 0xC00000FD: Stack overflow."

Und zeigt die Datei chkstk.asm bei folgendem Inhalt an:

(--> ist der gelbe Pfeil am Seitenrand)

***

probepages:

sub ecx,_PAGESIZE_ ; yes, move down a page

sub eax,_PAGESIZE_ ; adjust request and...

--> test dword ptr [ecx],eax ; ...probe it

cmp eax,_PAGESIZE_ ; more than one page requested?

jae short probepages ; no

***

Das Erstaunliche ist, dass es vorher schonmal funktioniert hat.

Der Dialog hat eine eigene Klasse und wird so aufgerufen:

DlgKlasse dlg;

if(dlg.DoModal()==IDOK)

...

Wo liegt das Speicherproblem?

  • Autor

Es hat sich soeben erledigt.

Ich habe das Projekt wieder geöffnet und es läuft wieder. Keine Ahnung was das war.

Wenn es möglich ist, kann dieser Beitrag gelöscht werden, denn er bringt ja nicht so viel.

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.