API Support » Run-time error during connection Apr 28, 2011 @ 03:35 PM (Total replies: 4) | |||||
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 |
|||||
API Support » Run-time error during connection Apr 26, 2011 @ 02:31 AM (Total replies: 4) | |||||
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 |