Sterling API Developer Thread

Quote from dextrin21:

What is a QuoteSnap and why does it take forever to get an event nofication that it updated?

It's a onetime snapshot of the current quote. It only fires once.
 
:(

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)
 
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 .
 
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
 
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).

Sterling ActiveX API manual says:

We have found that in VS 2010 you must open VS by right clicking the program and then selecting
Run as administrator, once this is done you will be able to open your project. You also need to make sure that your
project is compiled using .net 3.5 or earlier.

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.
 
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.



Quote from walterjennings:

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
 
Quote from 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.

I did like what you said and had the same errors.........:confused:
 
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.



Quote from walterjennings:

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
 
Back
Top