need to save my output ( dataval10,dataval20,dataval30) in a file everytime
i press a key. Right now they are being written in a file continuously.
i thik i have to use the case WM_KEYDOWN ... but not sure how to fit it in my code
& how to get the output written to a file when the button wa spressed...
Help will be great!
edit ... code deleted !