Author |
Topic: System.ComponentModel.Win32Exception Error creating window handle. (1 messages, Page 1 of 1) |
||||
---|---|---|---|---|---|
Moderators: VPfau | |||||
eo707 Posts: 68 Joined: Nov 08, 2011 |
On this simple line, I get an exception.
var oec = new OECClient(); It is where I do initialize your component for use. As long as I remember, I must do this initialization even if I don't use the variable oec. As my code below not always using oec.OBJECTPROPERTY/METHOD Only use: OECClient.Global.OnLoginComplete += OnLoginComplete; For example. Again I don't see an option to upload a file to your forum... please allow that. So, I do upload to my server for you to see. This is an image of the error Detail by Quick View of VS. http://emeraldone.com/oec/Jan16ErrorNew.jpg And for the text that is overlapping the viewer... The StackTrace has more text, I wanted to copy it for you but lost it. If it is important and it will happen again, then I may copy it for you. The error don't repeat each time I set to a new instance. I need to note, it don't happen when I first run the application, then it set a new instance I set the application running, then I disconnect and don't do anything else. Then same running application, should set again a new instance, technically it is because I wish to clear all trades of yesterday. and I want new count of everything, so I set new instance... But, it is not going smooth. If I close the application, and reopen it, all is well. I have the same bug on the server, but the error get simulated on my developing environment. I noticed that my app tried to set new instance not when it needs to trade, so I changed it..but I don't believe it kill the bug. I let on a timer, to run each 5 seconds, and reset new instance with my attempt to repeat the error not by chance, and it goes well. so, WTH???? Could you think of something? Else, my strategy is going well. I am working now on a demo, you told me that it is ended by Feb 5... Could I get it longer? User Name:NLeviav336 Thanks. |
||||