@rtur #1 Or maybe you are running this sample form IDE. Do not do this. Compile to EXE and then run test.exe file.