Re: Nim and COM

2016-07-04 Thread LeuGim
Just follow instructions in [this series of 
articles](http://forum.nim-lang.org///www.codeproject.com/Articles/Jeff-Glatt#Article)
 on using (and creating) COM-objects in plain C, w/o using any libraries, so it 
can be reproduced in Nim as is. You'll need to import `windows.nim` (nimble 
package) and probably borrow to Nim some stuff from C-headers noticed in the 
articles (look for them in your C-compilers directory). It's related to COM in 
general, information on Word interface will be not hard to find (it's 
independent of language).


Re: Nim and COM

2016-07-04 Thread Garry_Galler
In my script, I wrote on a powershell, is often used to work with Word 
documents - such as the creation of html content downloaded Word document, 
followed by editing its properties. I would like to re-write some scripts to 
Nim, but I have no idea how to call the Word.Application object and its methods.


Re: Nim and COM

2016-07-04 Thread Varriount
Since COM has a C interface, it's quite possible (although I have yet to see a 
real-world example). What kind of scenario are you planning to use COM in?


Nim and COM

2016-07-04 Thread Garry_Galler
How in Nim it is possible to cause COM object of (Word|Excel).Application?