Re: [Haskell-cafe] Help on using System.Win32.Com.Automation

2009-03-24 Thread Wilkes Joiner
Thank you Sigbjorn. The generated WMI module had the information I was looking for. I wasn't able to find the ihc. Would an old hdirect package work? I just needed to map a handful of functions so I did it by hand. For posterity, here are the mappings I've needed so far: createConnection ::

Re: [Haskell-cafe] Help on using System.Win32.Com.Automation

2009-03-23 Thread Sigbjorn Finne
Alexandr N. Zamaraev wrote: Sigbjorn Finne wrote: Hi Wilkes, you may want to have a look at a simple example of how to interop with Windows WMI using the COM package at -- http://haskell.forkio.com/com-examples I try compile WMIDemo.hs but recive error: [code] c:\htest>ghc --make WMIDemo.hs

Re: [Haskell-cafe] Help on using System.Win32.Com.Automation

2009-03-23 Thread Alexandr N. Zamaraev
Sigbjorn Finne wrote: Hi Wilkes, you may want to have a look at a simple example of how to interop with Windows WMI using the COM package at -- http://haskell.forkio.com/com-examples I try compile WMIDemo.hs but recive error: [code] c:\htest>ghc --make WMIDemo.hs [2 of 2] Compiling WMIDemo

Re: [Haskell-cafe] Help on using System.Win32.Com.Automation

2009-03-22 Thread Sigbjorn Finne
Hi Wilkes, you may want to have a look at a simple example of how to interop with Windows WMI using the COM package at -- http://haskell.forkio.com/com-examples Hope it is of some help to you. --sigbjorn On 3/19/2009 16:49, Wilkes Joiner wrote: I'm playing around with the com package, but I

[Haskell-cafe] Help on using System.Win32.Com.Automation

2009-03-19 Thread Wilkes Joiner
I'm playing around with the com package, but I'm having a hard time understanding how to map a COM call to the appropriate methodN or functionN call.  Does anyone have any example code that uses the method1 or higher.  Any help or pointers would be appreciated. Here's the code I have so far: imp