Login  
Search All Forums
Dart Home | PowerTCP Web for ActiveX | Custom Development Reply | PowerTCP Web for ActiveX Topics | Forums   
AuthorForum: PowerTCP Web for ActiveX
Topic: Help ! About Multi WebTools Controls
ZhiDian
insight2008@yahoo.com.cn

From: ChengDu, TX USA
Posts: 3
Member Since: 07/13/03
posted July 13, 2003 6:19 PM


 In order to improve the speed of downloading multi web-page,I put multi WebTool Controls(>3) in my VB form,and i want them to work together at the same to fetch diffrent web-pages,and there is something strange:
I found that,if these controls connect to the SAME HOST to fetch diffrent pages,only TWO controls can work through,and the others will be keeped at State=httpStartingRequest
,untill at least One of these TWO has finished,the left controls can work through.well,if these controls connect to diffrent host,they will be work fine.
 On other words,in my platform(Win2k+VB6sp5),at the same time,ONLY TWO WebTool Controls CAN MAKE CONNECT TO A SAME HOST!

 How to work out it?!
 Any one can help me?
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted July 13, 2003 7:52 PM

This is a limitation of WININET.DLL and I don't know of any way around it. For some reason it does not like having multiple objects in the same thread.

If you have the WebEnterprise Tool you can use the WebASP control instead.
ZhiDian
insight2008@yahoo.com.cn

From: ChengDu, TX USA
Posts: 3
Member Since: 07/13/03
posted July 13, 2003 10:27 PM

Dear Tony:
 Thanx for your quickly reply.
 I replace the web tool with webAspTools,and found things seem to be good.but there is a new problem,that I use 4 WebAspTool Controls to fetch HTTP files at the same time,well in taskmaneger,i found that this program will get >95% cpu_time ?!
 Help again!
ZhiDian
insight2008@yahoo.com.cn

From: ChengDu, TX USA
Posts: 3
Member Since: 07/13/03
posted July 13, 2003 10:31 PM

BTW:
  I used these 4 WebAspTool controls all in none-blocking mode.....
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted July 17, 2003 10:30 AM

That seems normal to me. You have 4 consecutive network operations going on so I would expect the CPU to spike until they are done.

Reply | PowerTCP Web for ActiveX Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX