----- Original Message -----
Sent: Thursday, October 10, 2002 5:17 PM
Subject: App & agent when not using GUI
> Trying to administer remote instances of encoder. I do
> *not* need the UI (either remotely or locally).
> The SDK docs are ambiguous on this. They suggest that the
> App object can be used if you want to display the
> interface. Well, I don't, so do I need the app object?
> Do I need to use the Agent object or the App object at
> all? i.e. Can I set and get the Encoders directly?
> It seems that the agent is the only way to get the Encoder
> instances into the Names Collection.
Well, with the WMEncoderAgent you get directly WMEncoder objects, which can
or cannot be used by a WMEncoderApp object.
So, you don't have to worry about this.
To get them remotelly, you first must create a WMEncAgentLocator object, and
use the GetAgent() method with the remote machine name as its parameter, to
get a WMEncAgent object.
Then you can use the IWMEncoderNamesCollection interface and the
GetEncoder() method to get the existing WMEncoder objects on that machine.
The tricky part resides on configuring the remote machine to allow other
machines to get its WMEncAgent object...
As it is said in the docs, you must configure DCOM, but I've done my best
and still haven't found how to configure this part.
If anyone knows about this, I'd be very glad if he/she explains the way to