客户端用VB调用:     Dim xlApp As MyObject
     Set xlApp = CreateObject("Excel.Application", "MyServer")结束客户端时:     set xlApp=nothing结果服务器端组件进程没有被结束!
我该怎么办呢?

解决方案 »

  1.   

    Please implement a method called quit on ur server end. 
    Then call the mothod before set it to nothing.     Dim xlApp As MyObject
         Set xlApp = CreateObject("Excel.Application", "MyServer")     xlApp.Quit
         set xlApp=nothing
      

  2.   

    执行xlApp.Quit报没有这个方法或属性。是不是服务器端没有编写相应的释放机制啊?
    服务器端:VC(ATL) 基于Win2000
      

  3.   

    i agree with the upstairs
      

  4.   

    我试着调了xlApp.Quit,但是报对象不支持这个方法。
    是不是服务器端有些释放的机制没有完成啊?谢谢
      

  5.   

    Try this     Dim xlApp
         Set xlApp = CreateObject("Excel.Application", "MyServer")     xlApp.Quit
         set xlApp=nothingShould be okay.
      

  6.   

    哎,还是不行啊,依然是没有quit方法:(
      

  7.   

    我试过了,还是同样的没有Quit方法:(
      

  8.   

    我的服务器端用VC(ATL)制作进程外服务器程序,
    照理说Monitor应该很好的管理起组件的生命周期,
    为什么我的组件进程就是不能自动结束呢?