Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem issuing CLEAR DLLS
Message
From
25/02/2004 13:24:51
 
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00880538
Message ID:
00880792
Views:
14
Hi Sergey
On my system I have been able to determine that this problem occurs because our network is behind an MS Proxy server and our machines use the Winsock proxy client to access the internet. If I shut down the WSP client and access the internet directly, the CLEAR DLLS executes immediately. Not sure why this is happening or if I can do anything about it. Thanks for the thread ID's, I will attempt to contact the user and see if he is also behind an MS proxy server

Regards
Bill

>Hi Bill,
>
>There were a couple discussions about this but no solution seems've been found:
>- Clear Dlls takes too long Thread #777673
>- InternetConnect Thread #781517
>
>>Using VFP6 on Win2K Pro. I have a VFP class that DECLARES and uses the WinInet API function 'InternetConnect()' for FTP transfers. The declaration looks like this:
>>
>>DECLARE Integer InternetConnect IN WININET.DLL ;
>> Integer nHinternet, String @cServerName, ;
>> Integer nPort, String @cUserName, String @cPassword, ;
>> Integer nService, Integer nFlags, Integer ndContext
>>
>>
>>The function works fine - I can connect to an ftp server, get a session handle and close the connection using another WinInet function InternetCloseHandle(). However, after using this function, a call to 'CLEAR DLLS' will hang VFP for about 60 seconds before finishing. If I don't issue 'CLEAR DLLS' during the class cleanup code, VFP will hang for 60 seconds when I shut VFP down. Just issuing the DECLARE doesn't cause the problem - I have to actually use the function to connect to an ftp server.
>>Can anyone help me resolve this?
>>
>>TIA
>>Bill
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform