摘要 |
Method and apparatus for seamlessly integrating new or modified user interface features or modified functionality, to an existing target application program (100) in the context of an operating system (102) which assigns a separate process address space for each application program then operating. The disclosed invention does not require re-compiling the existing application program's source code. Rather, a novel approach is provided which allows a technology injection system (TIS) (106) to inject itself directly between a computer operating system (102) and the target program (100) so as to intercept and act upon messages and commands to the target program (100). In this way, the TIS (106) can modify any inputs and outputs of the target program (100). By performing special processing of those messages to the target application program (100) which determine the appearance of the target application user interface or which concern modified functionality, the TIS (106) can provide the new functionality to the target application program (100) and alter the appearance of its user interface. Interception of messages between the operating system (102) and the TIS (106) is achieved by utilizing operating system functions 116, or any other available computer system functions, to overwrite a pointer (138) to a window procedure (116) of the target application (100), with a pointer to a surrogate window procedure (124).
|