Author |
Topic: Run-time error during connection (5 messages, Page 1 of 1) |
||||
---|---|---|---|---|---|
Moderators: VPfau | |||||
AAlexander39 Posts: 18 Joined: Dec 17, 2010 |
Hello.
During connection of Excel file to the demo account this error stands out: Run-time error '-2147467261 (80004003) ': "Automation error". During connection the same Excel file to the real account no errors stand out and every things fine. I have tried to lay out a screenshot but if you cannot open it specify e-mail, I will send it for you. http://i55.tinypic.com/2lbgdix.jpg Thanks in advance. Alexander Barbarash |
||||
MSlepov Posts: 2 Joined: Apr 20, 2011 |
Hello.
I have the similar problem. I use live account MSlepov and 4 demo accounts MSlepov, MSlepov13, MSlepov48 and NZhestin. I pay $49.95 monthly for each demo account. I do this because i need up to 25 tick subscriptions. My application is written with Delphi7. Each OECClient works in separate thread. My application has worked properly about a year till 18.04.2011 using COM API version 3.4. Started from 18.04.2011 each of demo OECClients reconnects every 5 minutes. Live OECClient working continuously, not reconnects. I have tried to use COM API version 3.5. I have made very simple custom application that do nothing, just try to connect to sim.openecry.com as follows: OECClient.Connect('sim.openecry.com', 9200, Login, Password, True). When Login is "MSlepov" application connects successfully. When login is "MSlepov13" or "MSLepov48" or "NZhestin" connect fails with error message "Invalid floating point operation" and application shuts down immediately. Please, explain me how should i set up my application with API version 3.5? Michael Slepov |
||||
VictorV Posts: 746 Joined: May 08, 2007 |
Hello,
Since 18.04.2011 old version of OECAPI, especially early versions of 3.4 branch, can be reconnected every 5 minutes. Please specify the date and username when you had troubles with OECAPI 3.5 and I will try to figure out the issue. Victor Vins Software Developer |
||||
MSlepov Posts: 2 Joined: Apr 20, 2011 |
Victor,
Here you can see the log of my application (Moscow time): 28.04.2011 23:18:27: OEC1.Connect(sim.openecry.com, 9200, MSlepov, Password, True) 28.04.2011 23:18:28: MSlepov connected to sim.openecry.com 28.04.2011 23:18:33: OnDisconnected event: MSlepov disconnected by user 28.04.2011 23:19:20: Application started 28.04.2011 23:19:26: OEC1.Connect(sim.openecry.com, 9200, MSlepov13, Password, True) --------------------------- Debugger Fault Notification --------------------------- Project E:\Soft\OEC 3.5\Project1.exe faulted with message: 'access violation at 0x7c92abb5: write of address 0x00030e84'. Process Stopped. Use Step or Run to continue. --------------------------- OK --------------------------- 28.04.2011 23:22:46: Application started 28.04.2011 23:23:03: OEC1.Connect(sim.openecry.com, 9200, NZhestin, Password, True) --------------------------- Debugger Fault Notification --------------------------- Project E:\Soft\OEC 3.5\Project1.exe faulted with message: 'access violation at 0x7c92abb5: write of address 0x00030e84'. Process Stopped. Use Step or Run to continue. --------------------------- OK --------------------------- 28.04.2011 23:25:24: Application started 28.04.2011 23:25:31: OEC1.Connect(prod.openecry.com, 9200, MSlepov, Password, True) 28.04.2011 23:25:32: MSlepov connected to prod.openecry.com 28.04.2011 23:25:36: OnDisconnected event: MSlepov disconnected by user 28.04.2011 23:26:18: Application started 28.04.2011 23:26:24: OEC1.Connect(sim.openecry.com, 9200, MSlepov48, Password, True) --------------------------- Debugger Fault Notification --------------------------- Project E:\Soft\Delphi\OEC 3.5\Project1.exe faulted with message: 'access violation at 0x7c92abb5: write of address 0x00030e84'. Process Stopped. Use Step or Run to continue. --------------------------- OK --------------------------- Michael Slepov |
||||
VictorV Posts: 746 Joined: May 08, 2007 |
Hello,
unfortunately, our logs do not have any information that can help to resolve it: I see you connected and then disconnected in 5-20 seconds without any sent requests. Victor Vins Software Developer |
||||