I am having reall difficulties trying to ask the right question to solve me problem. Here is another attempt:
I use ASPPop3.dll (from Server Objects) to retrieve mail. I make use of it in a Standard .exe. However, although the .exe runs just fine (and I have tested it very thoroughly) on its own, when I run the code in debug mode in the IDE, three things happen:
1) It runs fine the first time
2) Then the ASPPop3.dll library fails make a connection to the internet (it does even try), just returns an error msg "Range check error", whatever that means (no documentation from serverobjects.com on this error)
3) Then, after a few attempts at running the program in the IDE, the IDE hangs at the point where it calls ASPPop3.dll to check for POP3 headers.
"Hanging application VB6.EXE, version 188.8.131.52, hang module hungapp, version 0.0.0.0, hang address 0x00000000." is one error.
"Fault bucket 02037450." is another.
ASPPop3.dll works fine as in ASP too; I have also tested that thoroughly.
Unfortunately there is no help from the manufacturers.
So, any one give me some intelligent reasons why such code would not work in the IDE?