If I try that the application works correctly and yes it is complied as UNICODE.

If I copy the content of m_UserPrompt into a local CString variable and use that CString variable in SetWindowText it works fine in both normal mode and run as Admin.

As far as I can remember this problem seems to arrive when we upgraded to use the latest SDK kit. It was originally using windows SDK 8.1 but I can't say for sure?? I did try to switch back to SDK 8.1 but the problem is still there?

I've tried everything to find out what the problem is?