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 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. When I paste a long URL in the edit field, no link is reported 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). 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’ referen
Related Questions
- 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 this return a 404?
- I have added code to the AddNew method in my form. Why do I get an "Operator/Operand type mismatch" error when I included DODEFAULT()?
- I try to add a subscription to my WoW account but I get a zip code invalid error message. How can I fix this?