Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problems with WININET.DLL in XP
Message
From
31/01/2003 16:53:52
Joel Whitehead
Ccs Central Computer Services Inc.
Thunder Bay, Ontario, Canada
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Internet applications
Title:
Problems with WININET.DLL in XP
Miscellaneous
Thread ID:
00747884
Message ID:
00747884
Views:
48
I have been using Robert Abram's freeware FTP service class for VFP 5+ successfully for a couple of months now. Specifically, the DialInternet method has been a great help to get Windows 98 / 2000 / and XP to automatically dial a given Dialup Networking connection. I use the option INTERNET_AUTODIAL_FORCE_UNATTENDED (which is 2) for the connection type. I have now encountered 2 Windows XP PC's (both XP Pro with SP1) where this method does not even try to dial. It returns the value of zero (0) which the documentation says means the Windows API call to WININET.DLL failed. The zero value is returned immediately. I even tried the GetErrorCode method and it comes back with error unknown. On one of the PCs, this worked perfectly the first time and has not worked since. The DLL is there and is the same version as on my PC (which works)... and nothing has been changed. We have restarted several times, I have tried at the command window in VFP 7 SP1 to manually run the commands (outside of my application to make sure its not any conflict there) and it still fails. I also tried renaming the dialup connection item and then deleted and recreated the connection. No change. I can manually dial and this works fine... Any ideas???

Thanks in advance for any and all help!!! ;-)
Next
Reply
Map
View

Click here to load this message in the networking platform