Can't call GetWindowTextW - Error:undefined identifier

Dan via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Jun 17 13:40:00 PDT 2015


I'm new to Dlang and I have no Idea whats wrong with this code!

wchar[260] buffer;
HWND hWindow = GetForegroundWindow();
GetWindowTextW(hWindow, buffer, sizeof(title)); <-- Problem here


More information about the Digitalmars-d-learn mailing list