有人要我帮忙做一个扑克游戏必须用vb,由于对vb不熟悉,请教怎样在vb中调用cards.dll(0分)

  • 主题发起人 主题发起人 tianrei
  • 开始时间 开始时间
T

tianrei

Unregistered / Unconfirmed
GUEST, unregistred user!
有人要我帮忙做一个扑克游戏必须用vb,由于对vb不熟悉,请教怎样在vb中调用cards.dll
中的图片并显示,谢谢!
 
请教代码怎么写
 
必须知道cards.dll的函数,
如果不知道怎样调用,你知道用api吗

'复制文件函数
Public Declare Function CopyFile Lib "kernel32" Alias "CopyFileA" (ByVal lpExistingFileName As String, ByVal lpNewFileName As String, ByVal bFailIfExists As Long) As Long
'打开或打印指定文件
Public Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" _
(ByVal hwnd As Long, ByVal lpOperation As String, _
ByVal lpFile As String, ByVal lpParameters As String, _
ByVal lpDirectory As String, ByVal nShowCmd As Long) As Long
 
接受答案了.
 
后退
顶部