dim obj
set obj = server.createobject("TEST.TestCtrl")
if isobject(obj) then
obj.Test() '该行提示"错误 '8000ffff'"
Set obj = Nothing
end if
哪里错了,请指点!!!
...全文
1686打赏收藏
简单的不能再简单ocx控件方法都不能调用?
由于需要,试写一个控件供asp调用,不会vb,所以用vc的ocx,只有一个方法,很简单void test() 没有入参,也没有返回值,在asp里: dim obj set obj = server.createobject("TEST.TestCtrl") if isobject(obj) then obj.Test() '该行提示"错误 '8000ffff'" Set obj = Nothing end if 哪里错了,请指点!!!