I have a small dial-up program for my weather station that was working fine on my Win95 & WinNT machines. I upgraded the Win95 to 98. (stupid me) Now it will not hang-up automatically. I can hang up manually. I had to set the dialup dialog to disconnect in 3 minutes. (that's the minimum it can be set) So now it just sits there until it times out, does a count down from 30 seconds and then disconnects. That is not how I want it to work. Is there a setting I missed? Do I need to edit the registry? Do I now own an expensive boat anchor? ;>)
Here's a snippet of source.
Private Declare Function InternetAutodialHangup Lib "wininet.dll" (ByVal dwReserved As Long) As Long
If lngConnection <> 0 Then InternetCloseHandle (lngConnection)
If lngOpen <> 0 Then InternetCloseHandle (lngOpen)
lngConnection = 0
lngOpen = 0
Thanks in advance,