The MASM Forum Archive 2004 to 2012

General Forums => The Workshop => Topic started by: Farabi on February 17, 2012, 02:58:36 AM

Title: Unicode Line Feed
Post by: Farabi on February 17, 2012, 02:58:36 AM
On ANSI I can do this

CADD("Text",0Dh,0Ah)



How to do that on Unicode?
Title: Re: Unicode Line Feed
Post by: Gunner on February 17, 2012, 03:02:37 AM
szUniTest  DW "H", "e", "l", "l", "o", 13, 10, "T", "e", "s", "t", 0, 0
    invoke  MessageBoxW, 0, offset szUniTest, 0, 0

Title: Re: Unicode Line Feed
Post by: hutch-- on February 17, 2012, 07:14:46 AM
If you have downloaded version 11, you have two specific systems for writing UNICODE string data, a generic one and the extended version written by qWord, both have been tested to death and will do this type of string.