Masm32 SDK description, downloads and other helpful links
Started by xiaolaba, May 23, 2018, 02:15:56 AM
Quote from: HSE on May 23, 2018, 06:10:33 AMWelcome xiaolaba! But you must know that if forum members upload all our code with errors it's possible to down Github servers
Quote from: jj2007 on May 23, 2018, 02:57:45 AMHi xiaolaba,Welcome to the forum :icon14:GitHub is very clumsy for a small project. I have attached your source. It builds fine, but it does not run well.Can you explain in a few words,- what exactly the program should do?- why you need the hook?I suppose you use Google translate. Try to use short and simple phrases.Greetings to Taiwan,JJ
QuoteInterception of character output through APIBasic thinking of code interception: In order to achieve the interception of API such as ExtTextOutA/Ext TextOutW, a dynamically generated "JMP<replacement function>" instruction should be placed at the function entry and the JMP operand is the address of an intercepted replacement function which is provided (Richter, 2000). When the API is called, the JMP instruction will be executed firstly, jumping to the replacement function. Replacement functions are responsible for works like getting parameter from stack, calculating coordinate of the string, siphoning off words at the mouse position. After the execution is c ompleted, intercepted function will be called again by replacement function to finish normal character outputting and then turn back.