Problem with VideoOS.Platform.SDK.Platform and Wonderware

Hello

I’m trying to make windows user form to display one camera.

The main problem is when i’m using VideoOS.Platform.SDK.Platform ArchestrA don’t import my windows form.

static private bool Login()

{

  CredentialCache cc = Util.BuildCredentialCache(uri, userName, password, "Basic");

  Application.EnableVisualStyles();

  VideoOS.Platform.SDK.Environment.Initialize();    

  try

  {

    VideoOS.Platform.SDK.Environment.AddServer(uri, cc);

    VideoOS.Platform.SDK.Environment.Login(uri, true);

  }

  catch (ServerNotFoundMIPException snfe)

  {

    MessageBox.Show("Serwer nieznaleziony: " + snfe.Message);

    return false;

  }

  catch (InvalidCredentialsMIPException ice)

  {

    MessageBox.Show("Błędne dane do logowania: " + ice.Message);

    return false;

  }

  catch (Exception)

  {

    MessageBox.Show("Błąd połączenia: " + uri.DnsSafeHost);

    return false;

  }

  return true;

}

Maybe there is other way to log in to milestone server without using VideoOS.Platform.SDK.Platform or mabe there is other way to force ArchestrA to use that lib. Can anyone help me?

I saw some older questions that indicate that partner have integrated (or attempted to integrate) using the activeX’s .. Like in this sample - http://doc.developer.milestonesys.com/html/index.html?base=samples/imageviewerdemo_sample.html&tree=tree_2.html

At Milestone Systems we have no knowledge about the Wonderware Intouch.

I hope a partner sees this who has some experience to share.