与名字有关吗?
这是(不懂VC):
Private Declare Function SetLayeredWindowAttributes Lib "user32" _
    (ByVal hwnd As Long, ByVal crey As Byte, ByVal bAlpha As Byte, _
    ByVal dwFlags As Long) As Long

解决方案 »

  1.   

    用VC处理操作系统检测和函数地址吧
    然后从自己的VC代码中导出包装后的代码
      

  2.   

    不知道VB能不能想VC那样动态加载DLL,即LoadLibrary()、GetProcAddress()、FreeLibrary()
      

  3.   

    No Problem!
    《Call and Return Values From API functions by Name, without Declare》
    http://www.freevbcode.com/ShowCode.Asp?ID=1863
    别忘了 give playyuer points!
      

  4.   

    playyuer:
    我现在进不去,我找到了就给你分。
      

  5.   

    vb可以用LoadLibrary()、GetProcAddress()、FreeLibrary()。