The MASM Forum Archive 2004 to 2012

Project Support Forums => MASM32 => Topic started by: SolidCode on April 17, 2005, 05:37:20 PM

Title: Unicode Window Creation
Post by: SolidCode on April 17, 2005, 05:37:20 PM
I want to make a complete MASM32 application with Unicode Windows. But the window name show only the first char from the given name. In the attachment there is a RadASM:masm project. Who can help me?

[attachment deleted by admin]
Title: Re: Unicode Window Creation
Post by: SolidCode on April 18, 2005, 02:58:03 PM
OK. ::)
I guess I will have to answer it myself. It is the answer that I got on WASM.RU  :U forum.

My problem was that in the window procedure of the main window I put DefWindowProcA instead of its Unicode implementation.  :dazzled:
Title: Re: Unicode Window Creation
Post by: hutch-- on April 18, 2005, 03:26:07 PM
 :bg

We have all done it, the trick is to use UNICODE prototypes in API calls for all of the unicode stuff you want to write. The current MASM32 library has a set of unicode string functions and there are some unicode macros that may help as well.