动态库的烦恼,请高手帮忙(第二次提问)

VFPSUPERMAN 2003-08-10 06:05:05
有一动态库文件名为:QKCONNET.DLL,其中有一函数为SetPort,用法为SetPort(1),返回值为.T.,.F.
我的方法如下:
Declare integer SetPort in QKCONNET.DLL integer
setporttf=SetPort(1)
但每次都提示DLL中无法找到入口点SetPort.
请高手提供方法
...全文
79 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
heavenmusic 2003-08-10
  • 打赏
  • 举报
回复
不懂..学习!!
fj_jiangqi 2003-08-10
  • 打赏
  • 举报
回复
DirectMusicPerformance.SetPort

The DirectMusicPerformance.SetPort method sets the active port for the performance. This method must be called after the performance is initialized and before any instruments are downloaded or any segment is played.

object.SetPort(index As Long, numGroups As Long)

Parameters
object
Object expression that resolves to a DirectMusicPerformance object.
index
Index of the port. Must be in the range from 1 through the value returned by DirectMusicPerformance.GetPortCount, or –1 for the default port.
numGroups
Number of channel groups on the port. Must be less than or equal to the number of channel groups reported in the lMaxChannelGroups member of the DMUS_PORTCAPS type returned by the DirectMusicPerformance.GetPortCaps method.
Remarks
Each channel group consists of 16 channels. Allocate enough channel groups to accommodate all performance channels in the segments that you intend to play. For MIDI files, one channel group is sufficient. The Microsoft Software Synthesizer supports up to 1000 channel groups.
不知你调用的是不是这一个?
这段文章给你参考吧。
-------------------------
我流落在凄凉的世界里-孤苦伶仃
我过着动荡无助的生活-四处漂泊

2,749

社区成员

发帖
与我相关
我的任务
社区描述
VFP,是Microsoft公司推出的数据库开发软件,用它来开发数据库,既简单又方便。
社区管理员
  • VFP社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧