to post a new message or reply to an existing one. If you are not registered, please
NOTE: Some forums may be read-only if you are not currently subscribed to
our technical support services.
Oct 23, 2011 - 12:41 PM
Hi, i need help.
I wrote a small web browser
class CExplorer1 : public CWnd
Url = _T("http://beltelecom.by/subscribers/phone-debt");
requestHeaders = _T("Host: beltelecom.by\r\n");
requestHeaders += _T("Content-Type: application/x-www-form-urlencoded\r\n");
requestHeaders += _T("Content-Length: 286\r\n");
requestHeaders += _T("\r\n");
requestBody += _T("&phone_bill%5Bsurname%5D=%D0%9F%D0%B8%D0%B2%D0%BE%D0%B2%D0%B0%D1%80");
requestBody += _T("&op=%D0%9F%D0%BE%D0%BA%D0%B0%D0%B7%D0%B0%D1%82%D1%8C");
requestBody += _T("&form_build_id=form-5ceab7c66901c31dbcde5f5c272db526&form_id=beltelirc_form_individual");
crequestBody = requestBody;
crequestHeaders = requestHeaders;
The browser thinks for a long time and then displays a message that has been found that page.
I’m sure that was correct HTTP POST-request.
Here is my program:http://hotfile.com/dl/133078829/779721f/MInetBrowser.zip.html
There is a tab "Даведка аб запазычанасцi" it should display the page with the results after entering information and clicking on the button "Запазычанасць" (6 digit number)
processing code is in the procedure:
void CMInetBrowserDlg:: OnBnClickedIrc ()
In it I raised his hard data for your phone number
Oct 26, 2011 - 1:29 AM
We can test your app and help you even when we have no idea why Prof-UIS is related to a network connection problem? But we need a project which depends on Prof-UIS only. Please remove the dependencies from other libs.