API Support Forum
User Profile

Viewing User Profile for: JRenza839


About

Aug 29, 2011 09:31 AM

Aug 30, 2011 09:31 AM

Mar 13, 2012 11:55 PM



Post Statistics
JRenza839 has contributed to 2 posts out of 5598 total posts (0.04%) in 4643 days (0.00 posts per day).

20 most recent posts:

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