Sterling API issue

Discussion in 'Trading Software' started by rwang123, Jun 20, 2020.

  1. rwang123

    rwang123

    Hey I am having a little problem that hopefully someone here can help me out with. I can install the sterling app no
    problem, I am tring to run the C# API sample provided from sterling called Sterling_API_Examples and compiled without issue. When I lauch the APP and the followng error came out:The component with the CLSID {8EB74552-C174-4D51-819B-9E65A8916273} failed due to the following error: 80040154. The enviorment I am using is:

    Window 10 64 bit
    Visual Stdio 2019
    .Net Framework 3.5

    Sample to run:VS2010C#MdxExample

    Do I missed something in here?

    Thx
     
  2. Craig66

    Craig66

  3. rwang123

    rwang123

    try to follow the instruction to register the dll file as below but get error "Interop.SterlingLib.dll" loaded but failed to find DllRegiterServer. Pelase make sure is valid dll or ocx file.

    c>regsvr32 Interop.SterlingLib.dll

    Any idea of this error?

    regards,
     
  4. Did you solve this problem?
     
  5. If you need help DM me
     
  6. The key is execute STT as administrator.
    Thanks for your reply
     
    DoctorProfits likes this.
  7. Are you running on .Net 3.5 or a newer version?
     
  8. Running on .Net 4.5
     
  9. running newer versions are fine, however using non-XML event handlers for positions, trades, orders, etc won't work. Would need to target 3.5 or lower.