News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

STRINGS UNICODE problem

Started by donkey, March 01, 2009, 08:09:06 PM

Previous topic - Next topic

donkey

Hi Jeremy,

There is an issue with string equates and the STRINGS UNICODE directive, using a string equate with the L/A modifier will shut off STRINGS UNICODE. For an example assemble and run the following code...

STRINGS UNICODE

#dynamiclinkfile user32.dll
#dynamiclinkfile kernel32.dll

#DEFINE TESTSTRING L"This is a test"

CODE SECTION

START:
push TESTSTRING
pop eax
invoke MessageBoxW,0,"Hello",0,0
invoke ExitProcess,0


Edgar
"Ahhh, what an awful dream. Ones and zeroes everywhere...[shudder] and I thought I saw a two." -- Bender
"It was just a dream, Bender. There's no such thing as two". -- Fry
-- Futurama

Donkey's Stable

jorgon

Edgar

Thanks for the bug report and the fix is here (GoAsm version 0.56.5b).

Author of the "Go" tools (GoAsm, GoLink, GoRC, GoBug)