0 Replies Latest reply on Sep 18, 2009 6:45 AM by robertISI

    [C#/COM] Connecting to multiple instances in CS3




      I was looking at the sample code in the CS4 SDK for C# COM scripting of InDesign. Here they show it's possible to connect to a specified instance of InDesign Server. The code used for this is the following:


      myApp = (InDesignServer.Application)(System.Runtime.InteropServices.Marshal.BindToMoniker(configName));


      When I try to use this against a CS3 server it gives me a COMException for Invalid Syntax. So I guess this is not the way to bind to a CS3 COM object.


      Any ideas of how to do this correctly? This InDesign CS3 Server SDK doesn't include any examples on C# or VB COM interaction.


      A lot of thanks to anyone who can help me futher.