Kinda found solution for this problem.
By enabling "Link with runtime packages" to both DLL and EXE projects, then recompiling - everything seems to work at least at this simple sample.
Would be nice to see working solution where "Link with runtime packages" is not required.