Is there any WMI (Windows Management Instrumentation) library in Nim (found none)?
Having this would be a real point; so far you have to go with e.g. wmic.exe or PowerShell (both of them are pretty nasty from my point of view)...
There isn't... Yet.
Right now I'm running a program which is building up c2nim appropriate header files for the Windows API. Currently the program is on day 5 of running.
It is my hope that by the time it is done, we'll have a nearly complete wrapper of the Windows API, including WIN functions.
Just an update to this - I've had to make a few changes to the script, as I was running into some output corruption errors. I also switched the script from using a FILO queue for crawling to a FIFO queue for crawling (which should speed things up). My only difficulty at this point is a bit of confusion regarding licensing. Since I'm deriving these wrappers from publically available MSDN documentation, does that mean that they can be released under an open source license?
On the topic of WMI, the interface seems primarily COM based, which will pose some difficulty in using - I have little experience with using COM, and so don't quite know where to start when it comes to writing a 'nice' layer for a COM based API. On the other hand, this is good opportunity for me to get some experience.