--- In [email protected], "Sheri" <sheri...@...> wrote:
>
> --- In [email protected], "entropyreduction" 
> <alancampbelllists+yahoo@> wrote:
> >
> > COMplugin0.63_090702b.zip in
> > http://tech.groups.yahoo.com/group/power-pro/sfupld?path=/0_TEMP_/AlansPluginProvisional/
> > 
> > Okay, the slowness you observed, Sheri, is entirely down to
> > using CoWaitForMultipleHandles instead of WaitForSingleObject.  
> > 
> > COM plugin 0.63_090702b reverts to WaitForSingleObject.  It also requires 
> > com.unload to be called before exit (so put a call to it in PproShutdown).  
> > 
> > com.unload is explicitly defined, so nothing much happens in 
> > DLL_PROCESS_DETACH section of DllMain: all COM handles released and worker 
> > thread destroyed in com.unload.  
> > 
> > On my machine I seem to be able to run scripts, including ones with calls 
> > to com.unload, and can exit poweerpro without leaving nastiness behind.  
> > ~test.doc file no longer left behind after running word script.
> > 
> > On your machines?
> >
> 
> 090702b seems fine for FSO and Word scripts before and after restarting 
> Powerpro. Word script speed improvement is huge. The only other of the demo 
> scripts I retried was Shockwave, which is unloading com before the scripted 
> window can be accessed. It also silently crashes Powerpro.
> 
> Regards,
> Sheri
>


It's working well without hanging a powerpro.
and no delay between each call to a com service.

But, there seem to be trivial errors with demo scripts.

- comPluginDemoScriptControlBarCalendar.powerpro
- comPluginDemoScriptControlBarShockwave.powerpro
They both would require com.release (swfObj.release, obj.release) to be called 
before com.unload.


- comPluginDemoScriptControlBarOWCchart.powerpro
It throws some errors.
; ----------------------------------------------
ERROR: com.method: Programing error, bozo

Error occurred near line 68 of script comPluginDemoScriptControlBarOWCchart:
ChartSpace1.Charts.Add
; ----------------------------------------------

I also tried it with the earlier version (~ com0.63_090604.zip), and It's 
working properly.


BTW, 
with 0.63_090702(b), even though I don't call a com.unload before 
shutdown.powerpro() at the end of scirpt or in a "PProShutdown" list, PowerPro 
exits cleanly and disappears from Task Manager. 


Thanks.





Reply via email to