The MASM Forum Archive 2004 to 2012

Project Support Forums => GoAsm Assembler and Tools => Topic started by: donkey on March 01, 2009, 08:09:06 PM

Title: STRINGS UNICODE problem
Post by: donkey on March 01, 2009, 08:09:06 PM
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
Title: Re: STRINGS UNICODE problem
Post by: jorgon on March 03, 2009, 08:54:38 PM
Edgar

Thanks for the bug report and the fix is here (http://www.jorgon.freeserve.co.uk/Goasm.zip) (GoAsm version 0.56.5b).