在VB.NET2005是不是不支持cdtDrawExt
Declare Function cdtDrawExt Lib "cards.dll " (ByVal hdc As IntPtr, _
ByVal x As Integer, ByVal y As Integer, ByVal dx As Integer, _
ByVal dy As Integer, ByVal card As Integer, _
ByVal mode As Integer, ByVal color As Long) As Boolean
在VB.NET2005中使用总是出错。不清楚问题出在什么地方。请各位高手帮忙。
使用时:cdtDrawExt(MyBase.CreateGraphics.GetHdc, 200, 200, 75, 100, (Deck(TopCard).face * 4 + Deck(TopCard).suit), 0, 0)
[解决办法]