Code Newbie
News     Forums     Search     Members     Sign Up    

My Code Newbie
Username

Password

Articles/Snippets
ASP Classic
ASP.NET
C
C#
C++
HTML / CSS
Java
Javascript
Linux / BSD
Perl
PHP
Python
Ruby
SQL
VB 6
VB.NET

C.N. Friends
  Planet Rome

Link to Us!
Code Newbie
  Code Newbie
    forums
Old 04-14-2006, 09:03 AM   #1 (permalink)
deutsch
Registered User
 
Join Date: Mar 2006
Posts: 3
deutsch is on a distinguished road
GetPrivateProfileInt

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
deutsch is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -8. The time now is 10:26 PM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0 RC8





Copyright © 2000-2008, Milano Interactive
Web Hosting provided by Portal 360 Web Hosting