"But after reading the``wimgapi freezes VB6 UI""thread at MSDN again I have come to the idea, to just put wimgapi into its own process."
I'll write a windows service in AutoIt that is only there to read/write to a named pipe and execute wimgapi functions.