用PB编写的COM组件可不可以使用ASP对象
我编写了一个组件是给ASP用的.但不知怎么样访问ASP对象.
如果用VB是很容易实现的.只在要程序中引用"Microsoft Active Server Pages Object Library"
例如:
Dim Context As ObjectContext
Dim Server As Server
Set Context = GetObjectContext()
Set Server = Context("Server")
相应的PB代码怎么写?
是不是用ConnectToNewObject().如果是,那么ConnectToNewObject("???")
还有在VB程序中引用的"COM+ services type library"
那么在PB中的ole类的类名又是什么?