how do i print numbers on a Static?


mov gg,eax
mov eax,3600
div gg
mov hour,eax
invoke SetDlgItemText,hWnd,1003,ADDR hour


just turn to some weird letters like ???

pls help me
Posted on 2003-09-07 08:58:27 by bj1500
Use some dwtoa to convert it to a string before printing. Look into the algorithm forums or into masm32.lib or something like that.
Posted on 2003-09-07 09:23:20 by roticv
thank you :tongue:
Posted on 2003-09-07 10:13:33 by bj1500
Posted on 2003-09-07 21:55:48 by P2M