Hi all, i have problem with function CHttpConnection::OpenRequest, when i call this function with URL that is longer than 2048 char (one TCP/IP packet) the function crush down. Is the URL smaller everything work well! My question: Is there any limit to URL size? How i solve this problem? Is there any other possibility? Example: URL: executeSQL?Datbase=....&User=... (more than 2048 char). Thanks Peter
S
starzykp
@starzykp
Posts
-
URL Limit -
Stopping a dialog from closing when ESC is pressedHi, fast solution! 1) catch OnCancel and don't call the parent. void CMyDlg::OnCancel() { //CDialog::OnCancel() } 2) Change ID of cancel button ID_MY_CANCEL and create a function. void CMyDlg::OnMyCancel() { CDialog::OnCancel(); } 3) Test it. Bye Peter