If you put your exe in a subdirectory whats your work directory then? Have a look at the work_dir string at runtime.

AddFontResource(“e:\test\bin\xyz.ttf”) won't work because you didn't escape the back slashes.


Always learn from history, to be sure you make the same mistakes again...