WPARAM w; LPARAM l; FILE *fl=fopen("C://zaroty.TXT","a+"); fprintf(fl,"%s",l,""); fprintf(fl,"%4d/n",w); fclose(fl);