I just found
Windows 10 - 64bit
Lazarus version: 3.99
FPC version: 3.3.1
Unfortunately the forum hides your sig, when the "post reply form" is open, so I failed to see it before.
Have you tried with fpc 3.2.3 ?
I tested with (Win 10)
- Lazarus 3.4 fpc 3.2.2 => not reproduced
- Lazarus 3.99 Fpc 3.2.3 (and the IDE itself having a console win) => not reproduced.
I don't want to rebuild my tools now... So I wont test other combinations.
There could be (unknown) an issue if:
- The IDE is build with fpc 3.3.1
- your app is build with fpc 3.3.1
Further more, it could depend on the very exact compiler settings during compilation -o2 or -o3 -C... and what not.... And it could also depend on the day on which you last upgraded your 3.3.1