--- In [email protected], "brucexs" <bswit...@...> wrote:

Fixing my code which assumed variableName parameter to callback was always 
valid (non-null).  All well. Thanks.

> > Did some more with comPluginDemoScriptSAPI.powerpro, result
> > comPluginDemoScriptSAPI_091017.powerpro in same folder.  
> > 
> > If I have an for each looping through a vec instead of a com collection, 
> > same problem: pp crashes in second for-each loop.
> 
> 
> Can you post something where it fails in vec?  I could not make it fail with 
> other test scripts.
 
> IN tghe script you posted, I removed comments so that both for each runs, and 
> my ancient debugger says it is failing when break statement happens, this way:
> - PowerPro calls COM plugin foreach(0, ...)
> - com plugin calls back to set variable with null string as argument; note 
> that foreach(0, ...) passes null for variable name.  
> 
> I did a quick test of break for for each with vec and it worked.
>


Reply via email to