资 源 简 介
win32抛弃了win16的全局内存的概念,每个进程有自己独立的内存空间, 并且不受其他进程影响.这样一来所有代码都只能访问局部资源,但很显然有些 应用必须是全局的,比如你的hook,所以ms必须提供一种折衷的安全的方法.好 在windows中的dll正好可以解决这个问题.-win32 was abandoned on the overall situation of the concept of memory, each process has its own memory space, and not affect other processes. This one has all the code to access only to limited resources, but obviously some applications must be across the board, such as your hook, ms must provide a the compromise security measures. Fortunately, the windows dll is able to solve this problem.