cyberninja
April 13th, 2001, 11:46 AM
How to use HttpOpenRequest() in Windows CE?
When I use the following codes in Windows CE, there is always block and never succeed (in Windows NT/2K no problem):
hRequest=HttpOpenRequest(
hConnection,//get from InternetConnect() successfully
(LPCTSTR)strInputHttpMethod,//such as _T("POST")
tszUrlPath,//such as _T("/cgi/bin/isapi22.dll/")
HTTP_VERSION,//Windows CE: _T("HTTP/1.0")
NULL,
(LPCTSTR *)tszAccept,//_T("Accept: */*"),
INTERNET_FLAG_KEEP_CONNECTION,
0
);
Who have the experiences in implementing GET/POST methods in Windows CE (DO NOT use InternetOpenUrl() since it only support HTTP GET)?
When I use the following codes in Windows CE, there is always block and never succeed (in Windows NT/2K no problem):
hRequest=HttpOpenRequest(
hConnection,//get from InternetConnect() successfully
(LPCTSTR)strInputHttpMethod,//such as _T("POST")
tszUrlPath,//such as _T("/cgi/bin/isapi22.dll/")
HTTP_VERSION,//Windows CE: _T("HTTP/1.0")
NULL,
(LPCTSTR *)tszAccept,//_T("Accept: */*"),
INTERNET_FLAG_KEEP_CONNECTION,
0
);
Who have the experiences in implementing GET/POST methods in Windows CE (DO NOT use InternetOpenUrl() since it only support HTTP GET)?