000
09.04.2007, 22:23 Uhr
Suba Esel
|

Mir ist grad folgendes passiert:
C++: |
HWND stealth; stealth = FindWindow("ConsoleWindowClass",0); ShowWindow(stealth,0); std::string key, alttitel = "", titel; HWND aktuell; int laenge; char name[laenge];
|
Dieser Quelltext funktioniert ohne Probleme. Sobald ich die Definition (oder Deklaration? ka) von "aktuell" verschiebe, also zum Beispiel so:
C++: |
HWND stealth; stealth = FindWindow("ConsoleWindowClass",0); ShowWindow(stealth,0); std::string key, alttitel = "", titel; int laenge; HWND aktuell; char name[laenge];
|
stürzt das Programm ab. -- Simon |