API Support » Newbie connect question... Aug 30, 2011 @ 09:31 AM (Total replies: 2) | |||||
Hmm, did what you said and now get this: Could not load file or assembly 'API, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b6b45f27e2749b17' or one of its dependencies. The system cannot find the file specified. Is this correct? using OEC.API; using ProtoSharp; using OEC.CommLib; Jeffrey Renza |
|||||
API Support » Newbie connect question... Aug 30, 2011 @ 02:28 AM (Total replies: 2) | |||||
This is what I have going on: I've added a reference in my editor for both of these below // not sure which to use here //using OECAPICOM; using OEC.API; ..... private OEC.API.OECClient conn; ...... try { conn = new OECClient(); conn.Connect("sim.openecry.com", 9200, "[user]", "[pass]", false); } catch (Exception ex) { Print (ex.Message); } .... I get this error message: Could not load file or assembly 'API, Version=3.4.0.0, Culture=neutral, PublicKeyToken=b6b45f27e2749b17' or one of its dependencies. The system cannot find the file specified. Also, is the server right "sim.openecry.com"? or is it something else? thanks jeff Jeffrey Renza |