Thank you to John and TimoVJL, but the problem still exists.
My system language is Chinese, but for 'codepage', I dont know?
I've tried several hex values to figure out why, and no matter which value I used, once it's big enough, it will be '3f'.
I'm going to test my orignal code on another computer to confirm the version problem (oh yes mine is Pelles C 9.00.9 installed on a Win10-64bit system).
Thank you again Timo for trying my codes on your machine.