I didn't get any response on my last post, so I'll try one
more.
I can't figure out why the comparison is failing. I would
like to be able to use the extended ASCII characters instead
of intergers if the API allows it.
Thanks.
.data
sec BYTE "Wie Viel",0 ; [Section]
key BYTE "Nummer",0 ; weights=5
value BYTE 0E9h,00h ; Null term string Alt 233,234 0E9h 0EAh
file BYTE "win1.ini",0
valueOK BYTE "Value is OK.",0
Sample BYTE "Box",0
.code
start:
fn WritePrivateProfileString, Offset sec, ADDR key, ADDR value, ADDR file
fn GetPrivateProfileInt,Offset sec,ADDR key,0,ADDR file
.if EAX==0E9h ;Show a message if stored value is OK
invoke MessageBox, 0, ADDR valueOK, ADDR Sample,MB_ICONINFORMATION