flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
pearlz 28 Oct 2010, 13:53
Some body can fix it for me?
Problem in comment. thank's!
_________________ welcome to VietNam! |
|||||||||||
![]() |
|
semiono 28 Oct 2010, 16:57
sub rsp 8*4
|
|||
![]() |
|
mindcooler 28 Oct 2010, 18:03
Window is an ANSI window?
|
|||
![]() |
|
pearlz 29 Oct 2010, 02:41
in header. include 'win64wx.inc'. it's an unicode program.
_________________ welcome to VietNam! |
|||
![]() |
|
sinsi 29 Oct 2010, 03:54
Note the square brackets around hBuff
Code: invoke SendMessage,[hEdit],WM_GETTEXT,[nSize],[hBuff] ; <<< ; ;mov rcx,0 ;<- like this it run ok but not use mov rcx,[hWnd_] ;<- like this if not type in textbox it can run ;if type any charector it can't run ; Why invoke MessageBox,rcx,[hBuff],szTitle,MB_ICONINFORMATION ;<<< Your code was reading into hBuff, not the memory pointer stored in [hBuff]. It worked until the edit contained 8 characters... |
|||
![]() |
|
pearlz 29 Oct 2010, 07:39
Oh, it's really worked
but if like this Code: invoke SendMessage,[hEdit],WM_GETTEXT,[nSize],hBuff ; <<< mov rcx,0 invoke MessageBox,rcx,hBuff,szTitle,MB_ICONINFORMATION ;<<< it's work too. So i'm not think that. thank's ! ![]() _________________ welcome to VietNam! |
|||
![]() |
|
pearlz 29 Oct 2010, 07:40
in this case hBuff = char**
ok. ![]() _________________ welcome to VietNam! |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2023, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.