用VB写了个DLL,然后用ASP调用,开始运行得很好,
后来,我增加了一些功能,在ASP调用时就出现:"类型不匹配 "的错误,
出现错误的是ASP里的"Set ah = Server.CreateObject("HAwbno.pickno")"这一句实在找不出出错的原因,又不方便把增加的部份删除来测试只能来这里请高手帮帮忙了请问这种情况一般是哪里出的问题?
后来,我增加了一些功能,在ASP调用时就出现:"类型不匹配 "的错误,
出现错误的是ASP里的"Set ah = Server.CreateObject("HAwbno.pickno")"这一句实在找不出出错的原因,又不方便把增加的部份删除来测试只能来这里请高手帮帮忙了请问这种情况一般是哪里出的问题?
mscrosoft active server pages objectcontext object library
mscrosoft activex data objects 2.5 library
active DS type library
active DS IIS namespace provider
active ds iis extension dll
Set MyScriptingContext = PassedScriptingContext
Set MyApplication = MyScriptingContext.Application
Set MyRequest = MyScriptingContext.Request
Set MyResponse = MyScriptingContext.Response
Set MyServer = MyScriptingContext.Server
Set MySession = MyScriptingContext.Session
End FunctionPublic Function OnEndPage()
Set MyScriptingContext = Nothing
Set MyApplication = Nothing
Set MyRequest = Nothing
Set MyResponse = Nothing
Set MyServer = Nothing
Set MySession = Nothing
End Function