Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

"No More Data To Read"

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    "No More Data To Read"

    Hi.

    I have a VB 2008 application that sends orders to NT. If I run the app from within VB 2008, send an order to NT, then try to exit the app, I get "ArgumentException : No more data to read". When I click Ok, I am in Break mode. The top 3 entries of the call stack are as follows:

    Call Stack:
    AtiSocket.ReadString()
    AtiSocket.ReadInteger()
    AtiSocket.Loop()

    The current thread is "NT AtiSocket"

    If I then click the "Run" button (F5), execution continues, and the program terminates normally. My app calls the Teardown function in it's Closing event, but I notice the exception occurs before that event gets called. If I run my app outside VB 2008, as a stand-alone .exe, everything works normally. Any ideas what is wrong?

    #2
    russdirks, if the issue is before Teardown() gets even called, then what would be going on call wise before that point?

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CarlTrading, Yesterday, 09:41 PM
    1 response
    20 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, Today, 02:41 AM
    0 responses
    7 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, Yesterday, 11:44 PM
    0 responses
    18 views
    1 like
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    35 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    33 views
    0 likes
    Last Post CarlTrading  
    Working...
    X