Re: Couple ?s



"Andy Kennedy" <spamtrap@xxxxxxxxxx> wrote:

Question 1 concerning the RegQueryValueEx API
REG_BINARY

When it says binary data in any form, what does that
specifically entail.
(as opposed to REG_SZ used for strings)

It means any sequence of bytes.

Question 2
How can I automate this to check for multiple characters in
a string. I tried a
inc esi statement.

lea esi, szBigBuffer[0] ;look at 1st character in buffer
for a match
lodsb

.if EAX==31h ; the '1' character

I can't tell what you're asking here. If you're trying to do the
equivalent of a C switch statement, then what you have it pretty much
right.

.if EAX == '1'
...
.elseif EAX == '2'
...
--
- Tim Roberts, timr@xxxxxxxxx
Providenza & Boekelheide, Inc.

.



Relevant Pages

  • Couple ?s
    ... specifically entail. ... (as opposed to REG_SZ used for strings) ... How can I automate this to check for multiple characters in ... inc esi statement. ...
    (comp.lang.asm.x86)
  • Re: exception to MsgBox
    ... If the choices are actually three text strings of multiple characters than ... should I include the names without spaces or commas within one set of ... quotes, or list each separately in their own quotes, separated by ...
    (microsoft.public.excel.programming)