Hi,
I have no knowledge of C, but after the discussion about the volatile variables I got curious and had a look at the code created. I found something that I don't understand:
Code: Select all
// SetGadgetState(progressbar_900,#PB_ProgressBar_Unknown)
integer rr11498=PB_SetGadgetState(v_progressbar_900,-1LL);
The variable "rr11498" (is it a variable?) is never used, except on this line. As far as I understand the result is stored, but not used (I don't use it too). I have found hundreds of lines like this. Isn't that...unnecessary? The same happens with "DisableWindow", though this function never returns anything (=always "0").