News:

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

2nd ? on previous topic

Started by skywalker, April 01, 2006, 02:51:27 AM

Previous topic - Next topic

skywalker

When the int 3 is in, EAX has 5 but MessageBox doesn't work. Why is that ?

fn WriteProfileString, Offset sec, ADDR key, ADDR value
fn GetProfileInt,Offset sec,ADDR key,0

;int 3      ; for some reason, MessageBox doesn't work if this is in ?
.if EAX==5    ;Show a message if stored value is OK

invoke MessageBox, 0, ADDR valueOK, ADDR Sample,MB_ICONINFORMATION

PBrennick

#1
Skywalker,
If you look in your other post you will see that I fixed your GOASM conversion.

Paul
The GeneSys Project is available from:
The Repository or My crappy website