Witam,
Staram się pobrać dane z kontrolki edit w ten sposób:
DWORD dlugosc = GetWindowTextLength(Edit1);
LPSTR Bufor =( LPSTR ) GlobalAlloc( GPTR, dlugosc + 1 );
GetWindowText(Edit1, Bufor, dlugosc + 1 );
Sposób ten jest podany w wielu miejscach, niestety "Bufor" pozastaje u mnie pusty.