 |
ElvisOnMargin
Registered: May 2002
Posts: 158 |
03-10-10 03:18 PM
Quote from syswizard:
DEBUG.PRINT is your friend:
debug.print "reject status=";STIOrderStatus.osSTIRejected
Perhaps the code returned is different than your "trap".
Also, you are using bad form...you should be trapping with an enumeration.
if STIOrderStatus.osSTIRejected = eREJECT_FailedToBorrow Then
.... etc.
where eREJECT_FailedToBorrow is set to 38.
Hi. Yes, these look like good ideas. I'll try that code.
Thanks a lot for the help and for taking the time to reply: it is much appreciated.
Elvis
|
| |
|
Edit/Delete • Quote • Complain |

NeedAName
Registered: Apr 2010
Posts: 15 |
04-24-10 01:22 PM
Hi everyone, I have a quick question. I just had a program developed for me and when I try to connect to sterling, I get a message saying there was an "error while creating Sterling objects." I am not able to get a hold of the programer for another 2 weeks due to his vacation, so I was hoping someone here could help me out with the issue. Thanks.
|
| |
|
Edit/Delete • Quote • Complain |
cloned
Registered: Sep 2009
Posts: 2 |
04-29-10 07:35 PM
try to start sterling trader pro first, and then to start the program
Quote from NeedAName:
Hi everyone, I have a quick question. I just had a program developed for me and when I try to connect to sterling, I get a message saying there was an "error while creating Sterling objects." I am not able to get a hold of the programer for another 2 weeks due to his vacation, so I was hoping someone here could help me out with the issue. Thanks.
|
| |
|
Edit/Delete • Quote • Complain |
NeedAName
Registered: Apr 2010
Posts: 15 |
05-02-10 08:53 PM
Quote from cloned:
try to start sterling trader pro first, and then to start the program
I was doing that the entire time. I should have updated this thread, I had to run the program and sterling from a non windows 7 computer. I don't understand that all, but it works perfect on XP. I am just using VMWare workstation so I can run it on my new computer...go figure. 
|
| |
|
Edit/Delete • Quote • Complain |
WhiteOut56
Registered: Apr 2010
Posts: 392 |
05-04-10 01:52 AM
Hi,
I'm new to sterling and would like to code in the API. I do not know Visual Basic, however I know C++ and have coded in other APIs
I have downloaded the sample programs.
Which is do most people use or is recommended?
AX_Examples?
DDE_Examples?
or VB.Net examples?
Also I'm using Visual Studio 2008. Is that good?
Also any other information with regard to how to get started out be appreciated.
Thanks
|
| |
|
Edit/Delete • Quote • Complain |
| Receive
an email whenever a new post is added to this thread by subscribing
to it. |
|
|
|
|