The MASM Forum Archive 2004 to 2012

General Forums => The Campus => Topic started by: [Manny] on October 15, 2007, 06:09:21 PM

Title: Searching for a spesific function
Post by: [Manny] on October 15, 2007, 06:09:21 PM
Hi all,

I understand that this may be a general and maybe silly question..

I am trying to detect which function (kernel call (?)) is supposed to change the text of a Label or a TextField in a visual application..
I suspect that i have to search inside the user32.dll. So.. May someone guide me with a more specific approach than mine?

Thanks..
Title: Re: Searching for a specific function
Post by: Mark Jones on October 15, 2007, 06:54:22 PM
Hi Manny, a great tool for searching for these kinds of functions is the Win32.hlp file, which does not come with MASM32. However, even newer information can be obtained from the MSDN website. Try going here:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnanchor/html/anch_win32com.asp

and do a search for "SetDlgItemText." This API function can set the displayed text of any edit or static controls in your window. :U
Title: Re: Searching for a spesific function
Post by: hutch-- on October 15, 2007, 09:50:53 PM
Correct me if I am wrong but detecting an API call is something done in a working application which you did not write, not source code where you can track the code that performs the task.

Tell us clearly what you are trying to do or we will be forced to close the topic.