您的位置:程序门 -> vb -> 控件



vbscript中的数组做参数调用动态库中的方法,提示类型不匹配?


[收藏此页] [打印本页]选择字色:背景色:字体:[][][]


vbscript中的数组做参数调用动态库中的方法,提示类型不匹配?[已结贴,结贴人:f19831119]
发表于:2007-01-31 09:48:57 楼主
<script   language   =   "vbscript ">
sub   zip()
dim   a(1)
a(0)   =   "sdfsd "
a(1)   =   "dasf "
msgbox   ehimgocx1.zipfile   (a,   "sdaf.zip ",   "123 ")
end   sub
</script>

public   function   zipfile(strsourcefile()   as   string,   strdestinationfile   as  

string,   strpassword   as   string)   as   boolean

strsourcefile()   as   string   改成   byref   strsourcefile()   as   variant   也不行
发表于:2007-01-31 10:02:551楼 得分:0
不能向dll中传数组
发表于:2007-01-31 10:04:072楼 得分:20
strsourcefile   as   variant  
   
*****************************************************************************
欢迎使用csdn论坛专用阅读器   :   csdn   reader(附全部源代码)  

最新版本:20070130

http://www.cnblogs.com/feiyun0112/archive/2006/09/20/509783.html
发表于:2007-01-31 10:11:093楼 得分:0
不能向dll中传数组?不会吧??
发表于:2007-01-31 10:34:424楼 得分:0
谢谢feiyun0112(http://feiyun0112.cnblogs.com/)兄


快速检索

最新资讯
热门点击