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 argusthome, 03-08-2026, 10:06 AM
    0 responses
    88 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    48 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    31 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    34 views
    0 likes
    Last Post TheRealMorford  
    Started by Mindset, 02-28-2026, 06:16 AM
    0 responses
    68 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Working...
    X