- ※ Source: · BBS Shuimua Tsinghua Station BBS.Net.Tsinghua.edu.cn · [From: 202.117.20.17] Sender: DreamMy (George), Word Area: programming Title: Re: Who knows the electronic dictionary The principle of mouse tether? Sending station: BBS Shuimu Tsinghua Station (THU NOV 6 17:51:06 1997) [mentioned in Dandan (Dandan):]: As the title. As far as I know, the solution generally has two kinds, which are for how to know any of the characters from the current screen 1. Using intercepted API calls to some GDIs, such as Textout, DrawText, Textoutex, etc., Dictionary Tracking the secondary write operation. The technical details will not be described in this way to use in some Chinese systems such as Chinese Star, etc., in addition, some third-party fonts, such as Adobe, etc., are also this method (see << undocunted Windows >> (ANDREW SCHULMAN) 2. Do a point of COPY for each device context, and track all modified context (DC) operations more powerful, but compatibility is not good, no matter that method There are potential problems, such as the first method, it is still 16 ways in Win95 (32-bit technical difficulties), this implies a hypothesis: 32-bit APIs output from all text Through the 16-bit DLL implementation, in Win95, it is difficult to say that he is difficult to say, even the first method is easy to bring compatibility, such as Boya and Chinese Star 2.0 have certain compatibility Question (Win95) - ※ Modification: Dreammy in Nov 6 17:57:23 Modified this article · [From: 166.111.78.230] ※ Source: · BBS Shuimu Tsinghua Station bbs.Net.Tsinghua.edu.cn · [from " : 166.111.78.230] Sender: Gryphon (Liu Wei), the letter area: Programming Title: Re: Who knows that the principle of the word in the electronic dictionary? Sending station: BBS Shuimu Tsinghua Station (THU NOV 6 21:33:32 1997) [mentioned in Dandan (Dandan):]: As the title. I have heard someone say, but I don't know. The specific situation is: intercept the Texout in the GDI library when starting the gramphock. When Mouse moves there, it will be taken. I haven't done it, maybe not correct - ※ Source: · BBS Shuimu Tsinghua Station bbs.net.tsinghua.edu.cn · [From: 166.111.89.244] Sender: Lshi (Sea Breeze), the letter area: Programming Title: Re: Who knows that the principle of the word in the electronic dictionary? Sending station: BBS Shuimu Tsinghua Station (THU NOV 6 22:30:48 1997) [mentioned in Gryphon (Liu Wei)'s masterpiece:]: I have heard someone say, but not clear. : The specific situation is: Intercepted the Texout in the GDI library when starting the grasp. : When Mouse moves there, it will be taken. : I haven't done it, maybe not correct, you said it is right. I have never been a recent, I don't know if I can make it.
关 漫 道 如 铁 铁 铁 铁 今 头 头 慢 慢 慢 好 慢 [[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[ : 202.112.145.96] Sender: xiaobo (Passion " The function of these dictionary of "Boya" is "Boa". I did an experiment today, I finally understand how it is achieved. The experiment is very simple, write a program yourself, write a messagebeep (-1) in OnPaint (); let the PC speaker vocal. Then run this program and "Jinshan Words" ("Boya" is the same as "word tyrant" as an example), when the mouse stops on the window of his program (it is the waiting time of the words), the PC speaker will vote At the same time, the mouse will also flash. This shows that the window will be heavy after the mouse stop, which is inevitably caused by "Jinshan Words". Its purpose is to make this window generate API calls to intercept functions such as TextOut () and DrawText (). Thus, "The Words" can get the string output from the window, and then determine according to the mouse position, you can get the characters referred to in the mouse (word). These are just my inference, I don't know if it is correct, I hope the high finger. Also, I don't understand how to intercept the API call? (This technology is useful.) GetProcadDress () should then replace it with your own function, then call the original. But how is it realized? Please give some two. - The voyage of the river, rising after the house ... - "John Clesov" ※ Modified: · xiaobo in Nov 27 08:05:21 Modified this article · [From: 166.11.26.20] ※ Source: · BBS Shuimu Tsinghua Station BBS.Net.Tsinghua.edu.cn · [From: 166.111.26.20] Sender: XYJ (ROCKY), Word Area: Programming Title: Re: Method of Words of Screen Words: BBS Shuimu Tsinghua Station (THU Nov 27 08:33:11 1997) [In the masterpiece of Xiaobo (Passion ":]: In addition, I don't understand how to intercept API calls? (This technology is useful.): GetProcAddress () should be replaced with your own function, then call the original. : But how is it realized? Please give some two.
You can see the
- The river is huge, rising from the house ... - "John Clesov" ※ Source: · BBS Shuimu Tsinghua Station bbs.net.tsinghua.edu.cn · [from: 166.111.26.20 ] Sender: Ming (busy for a while), the letter area: Programming Title: Re: Screen Take the word Send Station: BBS Shuimu Tsinghua Station (THU Nov 27 13:48:35 1997) [in youxu (Sugar) is mentioned in the masterpiece:]: I suggest you go to the Shuguang Station Programming version to see, there is an article about modifying the code. I used to take two code on the Internet, which may also be in the dawn station. Unclear. Is an example of interception on the screen of Win3.1 / 95 and NT. FTP: //166.111.79.141/internet/program/guihook.zip & guihooknt.zip - The saints are in the least right time; the clock is in my generation ※ Source: · BBS Shuimu Tsinghua Station bbs.net.tsinghua.edu. CN · [from: 166.111.79.141] Poncaly: Poncaly (Pangkale VS), letter area: Programming Title: Re: Method of Words of Screen Send Station: BBS Shuimu Tsinghua Station (FRI NOV 28 14: 15:08 1997) In the masterpiece of Xiaobo (Passion ":]: Hook can only filter messages, how to filter API? : Appreciate further details. Filtering the API function has three methods. 1 Do a DLLLL, implement the function with the same name being called by the called apapi, then put this DDDLL in the system DDDLL? NBSP; the front 2 modifies the AAAAPI function code, sets the breakpoint or use JJJMMMMPPP, CCCALLL instructions.