Creating COM object on Wine

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
daver667
Newbie
Newbie
Posts: 2
Joined: Sun Dec 07, 2008 1:36 pm

Creating COM object on Wine

Post by daver667 »

Hi,

I would like to use Wine to perform WMI querying on a remote Windows machine.

What I need to do is create an instance of SwbemLocator on my local Linux box. Once I've created this COM object, I'll use it to connect to a remote Windows machine and perform WMI queries.

My question at this point is a very basic one: how do I connect to my local installation of Wine in order to create the COM object instance? It seems to me that wineserver is probably something that will be helpful to me, but once I get it going I still need to access it in order to create the object. Will wineserver be listening for incoming COM connections?

I'm using j-Interop (a Java to COM bridge written purely in Java) to create the object. Currently I'm doing it against a remote Windows host, but because of poor performance when there is high network latency, I'd like to connect to an instance of SwbemLocator on my local host -- which is Linux.

Any suggestions or directions to try in order to do this would be highly appreciated!

Thanks,
David
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: Creating COM object on Wine

Post by vitamin »

daver667 wrote:I would like to use Wine to perform WMI querying on a remote Windows machine.
Wine does not support WMI.
daver667 wrote:What I need to do is create an instance of SwbemLocator on my local Linux box. Once I've created this COM object, I'll use it to connect to a remote Windows machine and perform WMI queries.
This is mostly not supported either. Just some rudimentary RPC.
daver667
Newbie
Newbie
Posts: 2
Joined: Sun Dec 07, 2008 1:36 pm

Post by daver667 »

Thanks a lot for your quick answer.

-David
Locked