Re: Module For COM Objects

2013-02-22 Thread Carlos Ungil
You can also use jawin. For example: (ns reports.pdf (:import org.jawin.DispatchPtr org.jawin.win32.Ole32)) (defn merge-pdfs Combines all the input-files into a single output-file. [input-files output-file] (Ole32/CoInitialize) (let [app (DispatchPtr. AcroExch.App) doc1

Module For COM Objects

2013-02-21 Thread octopusgrabbus
Does Clojure have a module that allows initializing, passing data to, and finalizing COM objects? I am asking, because I need to write a Clojure program to communicate with a COM toolkit. Thanks. -- -- You received this message because you are subscribed to the Google Groups Clojure group. To

Re: Module For COM Objects

2013-02-21 Thread Kevin Downey
The are a few tools for doing interop with COM from the JVM. They all kind of suck. We use com4j at work with Clojure. Com4j generates JVM stubs for COM libraries. On Feb 21, 2013 3:53 PM, octopusgrabbus octopusgrab...@gmail.com wrote: Does Clojure have a module that allows initializing, passing

Re: Module For COM Objects

2013-02-21 Thread David Powell
There is an example here of using JACOB: http://en.wikibooks.org/wiki/Clojure_Programming/Examples/Talking_to_Excel (I think this only works for IDispatch stuff?) On Fri, Feb 22, 2013 at 1:02 AM, Kevin Downey redc...@gmail.com wrote: The are a few tools for doing interop with COM from the