Re: [Haskell-cafe] Haskell to call Microsoft COM (Dispatch)

2006-02-04 Thread Marsh J. Ray

Marc Weber wrote:

Hi. I spent much time trying to get it to work.. you have to download
the whole fptools directory (from cvs!).. and I think i did some little
patches but I can check out again and compare..
It did compile and I think it's working well but I'm still struggling
getting to use it.. At least the examples do compile!

If you are really interested I would appreciate getting in contact with
you (my private email: marco-oweber a t gmx.de) .. Perhaps we can help
each other. (Becaue I'm not an experienced haskell programmer, yet ;-) 
I've been trying to get hdirect to build and would also appreciate any 
hints. Sounds like I should try the version from CVS?


- Marsh
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Haskell to call Microsoft COM (Dispatch)

2006-02-02 Thread Marc Weber
On Mon, Jan 30, 2006 at 08:40:43PM +0100, Gracjan Polak wrote:
>Hi all,
>Is there any library to make Haskell call Microsoft COM functions
>using Dispatch? E.g I don't need the full COM binary functionality,
>scripting is enough. Google didn't seem to find anything
>interesting... beside rolling my own using FFI :)
>Thanks in advance!

Hi. I spent much time trying to get it to work.. you have to download
the whole fptools directory (from cvs!).. and I think i did some little
patches but I can check out again and compare..
It did compile and I think it's working well but I'm still struggling
getting to use it.. At least the examples do compile!

If you are really interested I would appreciate getting in contact with
you (my private email: marco-oweber a t gmx.de) .. Perhaps we can help
each other. (Becaue I'm not an experienced haskell programmer, yet ;-) 

Marc
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Haskell to call Microsoft COM (Dispatch)

2006-02-01 Thread Gracjan Polak
2006/1/31, Taral <[EMAIL PROTECTED]>:
On 1/30/06, Gracjan Polak <[EMAIL PROTECTED]> wrote:> Is there any library to make Haskell call Microsoft COM functions using> Dispatch? E.g I don't need the full COM binary functionality, scripting is
> enough. Google didn't seem to find anything interesting... beside rolling my> own using FFI :)A bit of searching turns up very little, but rolling your own forsimple support is not difficult. OleInitialize, CoCreateInstance,
class IUnknown, class IDispatch, class Variant...Yes, I know. But I did not want to reinvent the wheel :)Besides, HDirect is large pile of outstanding work. Probably very much worth resurrecting. I'll think about this.
Anyway automation bindings could be a bit of boost for Haskell popularity on Windows.-- Gracjan
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Haskell to call Microsoft COM (Dispatch)

2006-01-31 Thread Taral
On 1/30/06, Gracjan Polak <[EMAIL PROTECTED]> wrote:
> Is there any library to make Haskell call Microsoft COM functions using
> Dispatch? E.g I don't need the full COM binary functionality, scripting is
> enough. Google didn't seem to find anything interesting... beside rolling my
> own using FFI :)

A bit of searching turns up very little, but rolling your own for
simple support is not difficult. OleInitialize, CoCreateInstance,
class IUnknown, class IDispatch, class Variant...

--
Taral <[EMAIL PROTECTED]>
"Computer science is no more about computers than astronomy is about
telescopes."
-- Edsger Dijkstra
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Haskell to call Microsoft COM (Dispatch)

2006-01-31 Thread Gracjan Polak
2006/1/30, Paul Moore <[EMAIL PROTECTED]>:
On 1/30/06, Gracjan Polak <[EMAIL PROTECTED]> wrote:>> Is there any library to make Haskell call Microsoft COM functions using> Dispatch? E.g I don't need the full COM binary functionality, scripting is
> enough. Google didn't seem to find anything interesting... beside rolling my> own using FFI :)I believe that HDirect allows you to do this. Unfortunately, I don'tknow of a binary build of a recent version, and I have yet to manage
to build it myself :-(Latest version is from January 2004, hierarchical library layout has changed a bit since then :( It doesn't compile for me, either.Anyway it seems to be a bit of overkill for what I want to do.
I'm not aware of any other libraries to do this.Thanks for the pointer! 
Paul.-- Gracjan
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Haskell to call Microsoft COM (Dispatch)

2006-01-30 Thread Paul Moore
On 1/30/06, Gracjan Polak <[EMAIL PROTECTED]> wrote:
>
> Is there any library to make Haskell call Microsoft COM functions using
> Dispatch? E.g I don't need the full COM binary functionality, scripting is
> enough. Google didn't seem to find anything interesting... beside rolling my
> own using FFI :)

I believe that HDirect allows you to do this. Unfortunately, I don't
know of a binary build of a recent version, and I have yet to manage
to build it myself :-(

I'm not aware of any other libraries to do this.

Paul.
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


[Haskell-cafe] Haskell to call Microsoft COM (Dispatch)

2006-01-30 Thread Gracjan Polak
Hi all,Is there any library to make Haskell call Microsoft COM functions using Dispatch? E.g I don't need the full COM binary functionality, scripting is enough. Google didn't seem to find anything interesting... beside rolling my own using FFI :)
Thanks in advance!-- Gracjan
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe