In MSDN 2005, there are two prototypes that you can send your post data :
void Navigate2(
LPCTSTR lpszURL,
DWORD dwFlags = 0,
LPCTSTR lpszTargetFrameName = NULL,
LPCTSTR lpszHeaders = NULL,
LPVOID lpvPostData = NULL,
DWORD dwPostDataLen = 0
);
void Navigate2(
LPCTSTR lpszURL,
DWORD dwFlags,
CByteArray& baPostedData,
LPCTSTR lpszTargetFrameName = NULL,
LPCTSTR lpszHeader = NULL
);
In first one, the fifth parameter, and in second, the third parameter.
Also, there are some infos :
lpvPostData
Data to send with the HTTP POST transaction. For example, the POST transaction is used to send data gathered by an HTML form. If this parameter does not specify any post data, Navigate2 issues an HTTP GET transaction. This parameter is ignored if URL is not an HTTP URL.
dwPostDataLen
Length in bytes of the data pointed to by the lpvPostData parameter.
baPostedData
A reference to a CByteArray object.
Enter your message below
Sign in or Join us (it's free).