与名字有关吗?
这是(不懂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
这是(不懂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
然后从自己的VC代码中导出包装后的代码
《Call and Return Values From API functions by Name, without Declare》
http://www.freevbcode.com/ShowCode.Asp?ID=1863
别忘了 give playyuer points!
我现在进不去,我找到了就给你分。