flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
Tomasz Grysztar 16 Mar 2004, 23:12
Assuming you use win32ax.inc (or win32wx.inc):
Code: cinvoke wsprintf,buffer,'%d',eax |
|||
![]() |
|
0x004549554F4C 16 Mar 2004, 23:57
ax.inc
|
|||
![]() |
|
Tomasz Grysztar 17 Mar 2004, 00:01
The above code is correct in both cases.
|
|||
![]() |
|
0x004549554F4C 17 Mar 2004, 00:48
.data
buffer2 rb 20 fwsp db '%lu',0 .code cinvoke wsprintf, buffer2, fwsp, eax after much fiddling, i guess the '%d' format string just didnt work as an arg kept crashing on me but long unsigned works in there, whats the deal with edit boxes having max of 30k chars? using win32a.inc not aw or ax wonder if thats why |
|||
![]() |
|
comrade 17 Mar 2004, 01:39
that's windows 9x limitation, their editbox are inheritantly 16-bit
|
|||
![]() |
|
0x004549554F4C 17 Mar 2004, 01:57
i'm running winxp though is there a better editbox call then
.data _edit db 'EDIT',0 .code invoke CreateWindowEx,WS_EX_CLIENTEDGE,_edit,0,WS_VISIBLE+WS_CHILD+WS_VSCROLL+ES_AUTOVSCROLL+ES_MULTILINE,0,[client.top],150,[client.bottom],[hwnd],0,[hinstance],NULL a newer api call for a edit box that holds more then 30k chars? |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2023, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.