[Win32utils-devel] win32ole properties question

Daniel Berger djberg96 at gmail.com
Sat Jan 18 04:10:29 UTC 2014


On Fri, Jan 17, 2014 at 8:11 PM, Daniel Berger <djberg96 at gmail.com> wrote:

>
>
>
> On Fri, Jan 17, 2014 at 7:38 PM, Heesob Park <phasis at gmail.com> wrote:
>
>> Hi,
>>
>> 2014/1/18 Daniel Berger <djberg96 at gmail.com>:
>> > Hi all,
>> >
>> > I'm trying to duplicate some code here in the ole branch of
>> > win32-changejournal:
>> >
>> >
>> http://www.codeproject.com/Articles/42212/WMI-and-File-System-Monitoring
>> >
>> > I'm basically having trouble duplicating this bit:
>> >
>> > objPrevInst.Properties_(objProperty.Name)
>> >
>> > How do I do that with Ruby?
>> >
>> That would be translated as
>> objPrevInst.send(objProperty.Name)
>>
>
> Silly me. I thought I tried that and it didn't work.
>

Hm, no, still can't make it work. It's probably something horribly obvious
but I'm not seeing it.

Regards,

Dan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/win32utils-devel/attachments/20140117/3e1bc3d3/attachment.html>


More information about the win32utils-devel mailing list