> Seems not so simple at all.

That's what you got when working inter-op with C. When doing the example from C 
implementation, I would translate it 1:1 too just to make it running, afterward 
I refactor it to be Nim idiomatic.

Since you don't want unnecessary DLL dependency, you should start with what 
@LeuGim advised.

* * *

There's also `winim` nimble library but the APIs naming doesn't follow usual 
Nim style, it follows Win32 API naming.

Reply via email to