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 ::
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
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
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
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