Mam problem z funkcją GetWindowText.
Pobieram w taki sposób tekst z kontrolki.
LPWSTR bufor;
hLabel = CreateWindowEx(0,WC_EDIT,TEXT("0:0:0:0"),WS_VISIBLE | WS_CHILD,100,100,100,20,hWindow,(HMENU)10,hInst,NULL);
int iloscZnakow=GetWindowTextLength(hLabel);
GetWindowText(hLabel,bufor,iloscZnakow + 1);
Zamiast tekstu dostaje pustą wartość