News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests

Main Menu

the masmlib a2dw not correctly working as expected

Started by Dubby, January 20, 2013, 04:34:49 AM

Previous topic - Next topic

Dubby

well at last in my windows 7 64 bit. haven't test it another machine.
The call to lstrlen  destroy the previously zeroed ECX register.

the solution is move the
xor ecx, ecx

after invoke lstrlen, String

hth.


hutch--

Use "atodw_ex", it does not do things like that. Its one of Iczelion's old ones dated before 2000 and I* loath to touch them, the "atodw_ex" version is one I did myself and it seems to work OK.

Dubby

ok then.. just in case there is a new comer which come and use the function then got frustrated with the result... oops no offense though...

hutch--

Not at all and its appreciated that you have bothered.  :icon14: