dll调用问题“未设置对象变量或With block变量”
我在一个dll中编写了两个class,其中一个用到asp中的对象和属性因此引入
Public Sub OnStartPage(PassedScriptingContext As ScriptingContext)
Set MyScriptingContext = PassedScriptingContext
Set MyApplication = MyScriptingContext.Application
Set MyRequest = MyScriptingContext.Request
Set MyResponse = MyScriptingContext.Response
Set MyServer = MyScriptingContext.Server
Set MySession = MyScriptingContext.Session
End Sub
而且编写了一个函数a(),函数体中调用了以上对象的方法
而我在另一个class中的函数b()中调用这个a()
在asp页面测试是老是出现以下错误“未设置对象变量或With block变量”
请指点!谢谢!