// here's some code ...
///////////////////////
case IDC_GET:
GetDlgItemText(hWnd, IDC_TXT, g_lpBuff, 64); //da problem
break;
///////////////////////
//IDC_GET - a button ID
//IDC_TXT - a text box ID
//LPTSTR g_lpBuff = NULL; - a global buffer var
//what's wrong ???
///////////////////////
case IDC_GET:
GetDlgItemText(hWnd, IDC_TXT, g_lpBuff, 64); //da problem
break;
///////////////////////
//IDC_GET - a button ID
//IDC_TXT - a text box ID
//LPTSTR g_lpBuff = NULL; - a global buffer var
//what's wrong ???