You should be able to simulate the problem ... (or get around it) Using D6 and the WinINet.dll interface - else get the JEDI version of the WinInet.dll calls.
Then make calls to InternetDial, InternetHangUp, InternetGoOnline, InternetAutodial etc. You will need to check the MSDN docs on these. Note that InternetGetConnectedState is unreliable on Win95 systems etc. Don't know about Win2000 - maybe it uses this on Win2000 and this returns the wrong state just like Win95 so it gets stuffed up. I would be keen to know the outcome ... (Having used these okay on Win95 but not yet tested it on Win2000). Indy would not help in this case, as it does not use these calls at all. Do you use a proxy at all and is there security present? As one of the options (INTERNET_AUTODIAL_FAILIFSECURITYCHECK) if specified on the dialling options may give this kind of result (Just guessing). Myles. -----Original Message----- From: Steve Galyer [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 17 October 2001 8:35 a.m. To: Multiple recipients of list delphi Subject: Re: [DUG]: TNMSMTP Thanks Patrick & Nello but unfortunately neither of your suggestions are true. I have tried this approach already, anyway Outlook Express does an automatic dialup every 30 minutes which would suggest that these settings are OK. The problem occurs on several machines that I have tested under Win 2000 (both Professional and Advanced Server), yet I run other software incorporating the same component on a few hundred other machines around the country without this kind of problem; however the existing version of the software does not run under MDAC 2.6 because of the ADO bug, so I have not exposed widely to Win 2000 before. Regards Steve Galyer ----- Original Message ----- From: "Patrick Dunford" <[EMAIL PROTECTED]> To: "Multiple recipients of list delphi" <[EMAIL PROTECTED]> Sent: Tuesday, October 16, 2001 9:33 PM Subject: RE: [DUG]: TNMSMTP > or set to Local Area Network instead > > > -----Original Message----- > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On > > Behalf Of Nello Sestini > > Sent: Tuesday, 16 October 2001 20:37 > > To: Multiple recipients of list delphi > > Subject: Re: [DUG]: TNMSMTP > > > > > > take a look at: > > > > settings | control panel | internet options | connections > > > > is "never dial a connection" selected here? > > > > if it is, try one of "Dial whenever ..." or "Always dial ..." > > and see if it affects the problem. > > > > -ns > > http://www.roserox.co.th > > > > > > > > > > ----- Original Message ----- > > From: "Steve Galyer" <[EMAIL PROTECTED]> > > To: "Multiple recipients of list delphi" <[EMAIL PROTECTED]> > > Sent: Tuesday, October 16, 2001 1:57 PM > > Subject: [DUG]: TNMSMTP > > > > > > I have a problem using the TNMSMTP component - under Win 95, 98, ME the > > component will automatically initiate a dialup if not currently connect to > > the internet; but under Win 2000 it will not initiate a dialup - returns > > "null remote address", but will use the connection if it already exists. > > > > Anyone able to give me some pointers here - I know that Indy is frequently > > recommended, but that is not the answer I am looking for. > > > > Regards > > Steve Galyer > > > > > > > > ------------------------------------------------------------------ > > --------- > > New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] > > Website: http://www.delphi.org.nz > > To UnSub, send email to: [EMAIL PROTECTED] > > with body of "unsubscribe delphi" > > Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/ > > > > -------------------------------------------------------------------------- - > New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] > Website: http://www.delphi.org.nz > To UnSub, send email to: [EMAIL PROTECTED] > with body of "unsubscribe delphi" > Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/ > > --------------------------------------------------------------------------- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of "unsubscribe delphi" Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/ --------------------------------------------------------------------------- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of "unsubscribe delphi" Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/