Quantcast
Channel: Take Command / TCC
Viewing all articles
Browse latest Browse all 1703

THREAD and WMI?

$
0
0
Will WMIQUERY and/or @WMI work inside THREAD? I can't get either to work. And I've seen these (below, without the usual indication of the source of the error). That makes me wonder if WMI must be somehow initialized in a thread.

Code:
v:\> thread wmiquery . "Select Name from Win32_Process where ProcessId=%_pid"

Error : Failed to create instance of WbemStatusCodeText

Viewing all articles
Browse latest Browse all 1703

Trending Articles