Application Hangs When Calling DLL which contains API
Hi All,
I developed a vb DLL which checks for the internet connection is up or not
I am doing this by using following API's
InternetOpen,InternetOpenUrl and InternetCloseHandle
I will call this DLL from vb application for every 10 secs
to check connection is up or not but,
application hangs till the reply comes from the component.
(not possible to click anywhere even the menu)
I tried using doevents but it didnt work out..
Please tell me ASAP other way to do this....
Thanks
Harish
Re: Application Hangs When Calling DLL which contains API
Ummm this should be in the vb section :) ask a mod to move it or just wait for them
Any chance of posting the api call parts of the code? :)
Re: Application Hangs When Calling DLL which contains API
VB dlls are single threaded so the calling application will block while the dll call is executing.