#  define EXTERN(type, array)  extern type * near array
是什么意思,为什么用extern 和near,谢谢!

解决方案 »

  1.   

    Removing Near and Far Type Declarations
    Win32 does not distinguish between near and far addresses. Because the types NEAR and FAR are defined in WINDEF.H, they are automatically handled by the include file, which redefines them as empty strings for Win32. Thus, NEAR and FAR are ignored. If you do not include WINDEF.H, a convenient solution is to use the /D command-line option to replace the keywords by empty strings. For example:/D_near=  /D_far= /D__near=  /D__far=用extern是为了其他文件也可以使用这个变量