Sterling API Developer Thread

Discussion in 'Trading Software' started by mnx, Apr 25, 2008.

  1. It's a onetime snapshot of the current quote. It only fires once.
     
    #241     Sep 15, 2011
  2. HyperIris

    HyperIris

    :(

    hi, I'm currently using Sterling API to get feed data in real time.

    my system is .net 3.5 vs2008 c#

    I use STIApp.GetServerTime() at beginning and I got strange things.

    the procedure is:
    1. I sync windows system time via internet time server.
    2. run my app (call STIApp.GetServerTime() and calculate new time when I got quote)
    3. the system time slow down/ speed up, about 3 mins in half an hour.

    dunno why, this problem makes all data useless (time not synced, huge delay)
     
    #242     Oct 13, 2011
  3. mameluk

    mameluk

    Nothing against the article, but I disagree with a couple of points to some extenct. I'm probably a minority though, lol. Thanks for sharing it on 208.234.169.12 .
     
    #243     Dec 15, 2011
  4. I've run into a error using the Sterling API in Win 7, and I was hoping someone has already solved. I've recently switched my development machine from Windows XP to Windows 7. I've installed Sterling fine on the Win7 machine and have referenced the DLL. Except now when I try to run my program I get this Exception when I try to create a new STI object.

    Exception 15: Retrieving the COM class factory for the component with CLSID {5E89F49B-6A12-420F-8570-E510EF1B58OA} failed due to the following error: 800700c1 is not a valid Win32 application. (Exception from HRESULT: 0x800700C1).

    Any information that might help me solve this problem would be greatly appreciated.

    Thanks
     
    #244     Jan 15, 2012
  5. guest2

    guest2

    Sterling ActiveX API manual says:

    You must run VS(project as administrator) also u must change: project->"Project" Properties->application->target framework to .Net Framework 3.5 Client Profile.


    I m coding on Win7 x64, MS VS C# 2010 Express Edition and i do not have such of problems.
     
    #245     Mar 13, 2012
  6. Why is the API not supporting .NET 4.0 ? It's been out for a while now, right ?
     
    #246     Mar 14, 2012
  7. I have the same problems and it is not yet solved. This is really an annoying issue.

    Please update your progress and share the information if you have it solved, thanks.



     
    #247     Apr 30, 2012
  8. I did like what you said and had the same errors.........:confused:
     
    #248     Apr 30, 2012
  9. Bump. Wow, this is dead-end technology, no ??
     
    #249     Apr 30, 2012
  10. I have the same problems at the beginning.

    With the excellent support of the Sterling engineers, I have had my problem solved by doing these:

    1) Have Sterling Pro installed and run on my developing workstation.
    2) Run VS2010 as administrator.



     
    #250     May 1, 2012