Click here to Skip to main content
15,922,407 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: The m Prefix? Pin
Nish Nishant29-Jul-02 18:15
sitebuilderNish Nishant29-Jul-02 18:15 
GeneralRe: The m Prefix? Pin
Brian Olej29-Jul-02 19:53
Brian Olej29-Jul-02 19:53 
AnswerRe: The m Prefix? Pin
[James Pullicino]30-Jul-02 1:58
[James Pullicino]30-Jul-02 1:58 
GeneralMemory Leak! Pin
wilche29-Jul-02 16:01
wilche29-Jul-02 16:01 
GeneralRe: Memory Leak! Pin
Nish Nishant29-Jul-02 16:12
sitebuilderNish Nishant29-Jul-02 16:12 
GeneralRe: Memory Leak! Pin
Michael Dunn29-Jul-02 17:43
sitebuilderMichael Dunn29-Jul-02 17:43 
GeneralRe: Memory Leak! Pin
includeh1030-Jul-02 7:02
includeh1030-Jul-02 7:02 
GeneralA Question about ChttpFile Pin
lxdff29-Jul-02 15:58
lxdff29-Jul-02 15:58 
I'm learning VC++/MFC programming.

I want post data to a webserver by http protocol,but it is errors

Source followed:

CString strHeaders =_T("Content-Type: application/x-www-form-urlencoded");
// URL-encoded form variables -
// name = "John Doe", userid = "hithere", other = "P&Q"
CString strFormData = _T("t=abcd");

CInternetSession session;
CHttpConnection* pConnection =
session.GetHttpConnection(_T("http://127.0.0.1/test.asp"));

CHttpFile* pFile =
pConnection->OpenRequest(CHttpConnection::HTTP_VERB_POST,_T("http://127.0.0.1/test.asp"));

why the pFile is null?


6对9说:好好的,打什么倒立。0对8讲:胖就胖一点了,系什么腰带。7对2讲,别跪了,跪死了也不嫁给你。5对3讲:哼,再隆胸也是假的
GeneralRe: A Question about ChttpFile Pin
Joel Lucsy30-Jul-02 7:14
Joel Lucsy30-Jul-02 7:14 
GeneralRe: A Question about ChttpFile Pin
ttzzgg_8071327-Sep-02 20:57
ttzzgg_8071327-Sep-02 20:57 
Generalundeclared identifier Pin
Mrs.Law29-Jul-02 15:00
Mrs.Law29-Jul-02 15:00 
GeneralRe: undeclared identifier Pin
Christian Graus29-Jul-02 15:29
protectorChristian Graus29-Jul-02 15:29 
GeneralMFC Class Library Pin
gekoscan29-Jul-02 11:11
gekoscan29-Jul-02 11:11 
GeneralRe: MFC Class Library Pin
Chris Losinger29-Jul-02 11:26
professionalChris Losinger29-Jul-02 11:26 
QuestionMS Access 2000 date/time update itself? Pin
Anonymous29-Jul-02 10:58
Anonymous29-Jul-02 10:58 
GeneralStructure to Function Pin
oscar_r29-Jul-02 10:26
oscar_r29-Jul-02 10:26 
GeneralRe: Structure to Function Pin
oscar_r29-Jul-02 10:28
oscar_r29-Jul-02 10:28 
GeneralRe: Structure to Function Pin
Chris Losinger29-Jul-02 11:28
professionalChris Losinger29-Jul-02 11:28 
GeneralRe: Structure to Function Pin
Michael P Butler29-Jul-02 10:39
Michael P Butler29-Jul-02 10:39 
GeneralRe: Structure to Function Pin
Todd Smith29-Jul-02 11:45
Todd Smith29-Jul-02 11:45 
GeneralRe: Structure to Function Pin
Joaquín M López Muñoz29-Jul-02 11:55
Joaquín M López Muñoz29-Jul-02 11:55 
GeneralRe: Structure to Function Pin
oscar_r30-Jul-02 2:48
oscar_r30-Jul-02 2:48 
GeneralRe: Structure to Function Pin
perlmunger30-Jul-02 10:56
perlmunger30-Jul-02 10:56 
GeneralTooltips on a CToolbar Pin
Gilfrog29-Jul-02 10:10
Gilfrog29-Jul-02 10:10 
Questionhow to access C..Doc var. from any class ? Pin
Fred D.29-Jul-02 9:54
Fred D.29-Jul-02 9:54 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.