On Fri Aug 8 09:27:01 2025 +0000, Zhiyi Zhang wrote:
You can remove `(LPWSTR)` cast.
If the `(LPWSTR)` cast in `(LPWSTR)L"a 1\tb2c3"` is removed, the compilation warning shown in the image below will appear during compilation. I don't want to add constant string definitions like `tabstring[]` inside the test_DrawTextCalcRect() function, so I directly used the `(LPWSTR)` cast. 