Wince 5.0 is the same program, running multiple times. The first one works, but the second one doesn't. SetWindowsHookEx returns 0. The error id is 31 ERROR_GEN_FAILURE, which means A device attached ...
I use STM8S208MB to upgrade, and run the flash erase and write work in RAM. As a result, the writing is correct at the beginning, but it is not correct at a certain address. I don't know what's going ...