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)

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

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?