I am studying this code B4 I post some $s in a week. It's some "roll your own code".
It should make it possible to to use any "characters you care to type".
This is copyrighted. Skywalker 04/06/2006 Just kidding. :-)
_WritePrivateProfileInt proc szKeyName:dword, szValue:dword, iValue:dword,
szIniFile:dword
local lpTempBuffer[16]:byte ; temporary buffer
lea eax,lpTempBuffer ;
push iValue ; value
push offset szLu ; format string
push eax ; output buffer
call wsprintfA ; format int
pop eax ;
add esp,4*2 ; correct stack
push szIniFile ; ini filepath
push eax ; integer converted to string
push szValue ; value name
push szKeyName ; section
call WritePrivateProfileString
ret
_WritePrivateProfileInt endp
This looks identical to another post you have in here. What's up with that? Confused?
Paul
He's starting to become something of a celebrity, aren't you Andy?... err Larry?... err you?
Mmmmmmm, and the question is what? are? we? supposed? to? be? looking? at?
'Nuff said, thread closed.
skywalker,
Another rude and annoying thing is to double/triple post. On a board of this size, you are not fooling anyone.
Regards, P1 :8)