Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

wsprintf output

Status
Not open for further replies.

jdidier

Programmer
Jul 8, 2004
2
CH
Hello,

I don't know why I keep getting these strange numbers with the wsprintf function:

---
.data

cid dw 0
idstring db "ID [%lu] = ",0


.code
[...]

INC word ptr [cid]
push [cid]
PUSH offset cidstring
PUSH EDI
CALL wsprintfA

---
and and as an ouput I get:

ID = [115235551] (and so on)


thanks for your help
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top