THttpScan v4.7 build 112 - October 29, 2007
description
download
screenshots
user guide
FAQ
support
purchase
FAQ
Q: does THttpScan support window.open("sub-page.html")
links?
Yes, THttpScan finds this kind of link, you can test that easily
by running Demo.exe included in the demo project and starting from the following
page:
http://www.javascript-coder.com/window-popup/javascript-window-open-example1.html
Q: If I pass an invalid URL when calling the Start method, this event is triggered but the error code is 0 and there is no error message. Shouldn't this return a 404?
The 404 error code is returned by an existing and responding server when the
specified HTML page does not exist.
E.g. in http://www.datastead.com/wrongpage.htm, the server (datastead.com)
will return the 404 error.
However if the server name itself is wrong (e.g. http://www.dataZtead.com/wrongpage.htm),
the host name "dataZtead.com" does not exist, so it cannot return any error code.
The "0" error code means that the specified server
does not exist or does not reply.
Q: when I paste a long URL in the edit field, no link is
reported.
A: If you paste the URL in an TEdit field, the TEdit field truncates
the URL to 255 characters.
The workaround consists to use a TMemo field instead (be sure to
disable the WordWrap property, otherwise the URL could be truncated with line
feeds).
Q: when I build my project using C++Builder, I get the following
errors:
Unresolved external 'InternetCloseHandle' referenced
from BORLAND\CBUILDER\IMPORTS\THTSCAN.LIB|HttpScan
Unresolved external 'InternetCrackUrlA' referenced from
BORLAND\CBUILDER\IMPORTS\THTSCAN.LIB|HttpScan
Unresolved external 'InternetCombineUrlA' referenced from
BORLAND\CBUILDER\IMPORTS\THTSCAN.LIB|HttpScan
A:
- Go to Project | Add to Project
- in the "file type" listbox at the bottom of the tab, choose
".lib" files,
- navigate to your CBuilder\Lib directory, and choose either inet.lib
(CBuilder4) or wininet.lib (CBuilder5 and CBuilder6).
- Build and save your project.
Q: when I build my project using C++Builder, I get the following
error:
Unable to find package import: THtScan.bpi
A: Go to Project | Options | Packages. Then go to the "Runtime
packages" groupbox, at the bottom of the tab. Go to the end of the packages
list edit box, and remove THtScan.bpi.
|