Sorry for writing in English, I don't write in Russian.
I discover myself and I do not know if you know the solution to this problem.
If you activate the compatibility with Windows NT in the MidletPascal exec this stop crashing in the compilation process.
This also works with the Pilgrim's lib_game. He said that it crash in the 30 - 70% of times.
Bye!