Alaska Software Inc. - ComEvalCollection() / Codeblock
Username: Password:
AuthorTopic: ComEvalCollection() / Codeblock
AUGE_OHRComEvalCollection() / Codeblock
on Thu, 21 May 2009 07:12:50 +0200
hi,

using WMI (Windows Management Instrumentation) i did get a Collection in a
activeX Object.

with SL1 i can use ComEvalCollection() with a Codeblock to "eval" for each
Item. it does work if i "hardcode" Codeblock, but ComEvalCollection() "fail"
when i use a String as Macro &(bBlock) to get a Codeblock. "fail" does meen
Count -> 0

i think, generated Codeblock, is fine while if i compile generated Source
Code all works fine.

attached Demo ( NEED SL1 v35x ) does show what i meen.
it does not generate hole Source Code only Codeblock for Demo.

greetings by OHR
Jimmy








ComEvalCollection.JPG
XWMIGEN.ZIP