Accessing multiuser projects using E3 COM library
I have a problem with multi-user projects and COM interface using C# ("E3.series 2018.1901 Type Library")
The project has beel loaded into the server and is visible by the current user via E3 cable.
(I use the flag /multiuser into the shortcut and I have launched the correct .reg file)
The issue is about C#. Using the following code:
e3App = Activator.CreateInstance(Type.GetTypeFromProgID("CT.Application")) as IApplicationInterface;
if (e3App != null)
res = e3App.SetMultiuserServer(hostname + ":" + port.ToString());
if (res == 0)
int projectsCount = e3App.GetMultiuserProjects(ref lstProjects);
if (projectsCount > 0)
The object lstProjects is NULL and projectsCount is equal to zero.
Please note that when I invoke the method .SetMultiuserServer() with the correct hostname and port (4712) I get success (the return value is zero).
Is there something I am doing wrong?
Thanks a lot for your support.