Related Projects > NASMX

using demo5 by Bryant Keller

<< < (2/2)

encryptor256:

--- Quote from: william427 on August 12, 2014, 02:20:46 PM ---hey yall
is gettext a storage place like a string?and what does dwtext do ?
thanks
william



--- Code: ---invoke   SendDlgItemMessageA, dword argv(.hwnd), dword 205, dword WM_GETTEXT, eax, dword dwText


--- End code ---

--- End quote ---

WinAPI home environment is C programming language, that's the place you should start, at least that's my opinion AND that would get you at least somewhere.

Stop using those Dialog Boxes, first you need to learn is basics - creating window and window procedure manually.

This is nice web site to learn WinAPI: theForger's Win32 API Programming Tutorial


--- Code: ---invoke   SendDlgItemMessageA, dword argv(.hwnd), dword 205, dword WM_GETTEXT, eax, dword dwText
--- End code ---

--- Quote ---is gettext a storage place like a string?and what does dwtext do ?
--- End quote ---

Omg. You have to provide a pointer to place where window text will be stored.

C / C++:

--- Code: ---
char windowText[2048];
SendMessage(windowHandle,WM_GETTEXT,2048,(LPARAM)windowText);

--- End code ---

william427:
thanks so much

Navigation

[0] Message Index

[*] Previous page

Go to full version