Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 110339
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T02:12:41+00:00 2026-05-11T02:12:41+00:00

Maybe you can help me… I am writing a program in Windows Mobile that

  • 0

Maybe you can help me…

I am writing a program in Windows Mobile that connects to a mail-server and retrieves data from a POP3-server. I am using a third-party (free) socket available from here. I am using VS 2008 (in VB.NET) and the device-emulators.

I can connect without any problems and execute my various commands (such as logging in, STAT, LIST, TOP). However, when I use the RETR-command to download the e-mail, I get after a while an error which I can’t track down. If I retrieve a short e-mail, it normally downloads the data without any problems. But if I try to retrieve an e-mail with an attachment (with more bytes to transfer), I generally get an ‘error’ towards 70-80,000 bytes. However, when running the application on my real device, I still get an error but normally towards 400-500,000 although sometimes earlier.

Running this application on the desktop (same third-party socket but another .dll) works without any problems. I can download huge attachments easily. I doubt it is related to network-problems – for instance using Pocket Outlook to download e-mails with attachment from the same mail-server works.

The error does not show up in debugging mode – with this I mean that the code does not stop at a certain line. I have inserted a Try-Catch as well in my code but no error is shown. However, using the debug-output window, I note after a while a line that appears and which reads: ‘The thread 0x566967f6 has exited with code 0 (0x0)’.

I believe the problem is related to the DLL-library (which is an ATL based COM-library) or more likely my way of coding this library but before writing to them, I wanted to see if I can track down the problem to this library and why it may cause my error/problem. In this way, I can furnish more information when I write to them. So, I am just wondering if there is a way in VS 2008 for me to get some more information in regard to my problem/error? Thank you.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-11T02:12:42+00:00Added an answer on May 11, 2026 at 2:12 am

    Exit code 0 means no error occurred and that the thread terminated normally. If it’s not supposed to be terminating try to figure out under what conditions it can and figure out which one is allowing the thread to exit prematurely.

    The only reason I can think of why this might be occurring on a mobile device and not your desktop is something to do with buffers. My guess would be that the smaller, slower devices are having trouble keeping up with the speed of the incoming data and consequently the buffers are being overwritten.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 120k
  • Answers 120k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer I probably should have looked at the slider() documentation more… May 12, 2026 at 12:14 am
  • Editorial Team
    Editorial Team added an answer I think what you're looking for is the method define_method… May 12, 2026 at 12:14 am
  • Editorial Team
    Editorial Team added an answer We just completed an upgrade to SL3 RTM, it went… May 12, 2026 at 12:14 am

Related Questions

Maybe you can help me... I am writing a program in Windows Mobile that
Maybe you can help me with a SQL Query: I have a conversion value
I have a little dilemma that maybe you can help me sort out. I've
I have two forms, in the main one a have a crystalreportviewer and in
Let me describe the problem and the solution i currently have and maybe you

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.