http://expert.csdn.net/Expert/topic/2680/2680928.xml?temp=.3978998

解决方案 »

  1.   

    Type RECT
         Left As Long
         Top As Long
         Right As Long
         Bottom As Long
        End Type
    为什么又不对,提示Ambiguous name detected:rect
      

  2.   

    invalid character , 错误的类型啊。
    忘了声明RECT。
    在API浏览器中是可以找到的Public Type RECT
            Left As Long
            Top As Long
            Right As Long
            Bottom As Long
    End Type根据具体情况可把Public 改成Private