OK,
Now something pretty weird is happening.
I downloaded the demo you uploaded and ran your executable,
I didn't get any access violation but the displayed text are incorrect like the picture you showed above.
I now rebuilt your demo project without changing anything and ran the produced executable and everything works properly.
one thing I did notice is that your executable is way bigger than mine (19Mb vs 15Mb).
this is weird.
have you tried disabling your antivirus and rebuilding or restarting your system?