Click here to Skip to main content
15,891,951 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Which MFC control does this? Pin
Cedric Moonen1-Dec-04 19:55
Cedric Moonen1-Dec-04 19:55 
GeneralRe: Which MFC control does this? Pin
Vancouver2-Dec-04 10:58
Vancouver2-Dec-04 10:58 
GeneralATL support to existing MFC application Pin
Ro_land1-Dec-04 19:26
Ro_land1-Dec-04 19:26 
GeneralRe: ATL support to existing MFC application Pin
Antony M Kancidrowski2-Dec-04 6:10
Antony M Kancidrowski2-Dec-04 6:10 
GeneralRe: ATL support to existing MFC application --> IT's POSSIBLE, it works !!! Pin
Roland Rubichi2-Dec-04 12:03
Roland Rubichi2-Dec-04 12:03 
QuestionHow to make a simple opengl32.dll Pin
maxmaven1-Dec-04 19:04
maxmaven1-Dec-04 19:04 
AnswerRe: How to make a simple opengl32.dll Pin
BlackDice2-Dec-04 3:01
BlackDice2-Dec-04 3:01 
GeneralNeed help using WinInet (making http requests) Pin
GrefMofovich1-Dec-04 18:56
GrefMofovich1-Dec-04 18:56 
I made an application to browse html pages off a website. Then they added a registration requirement to the site, i.e. you need to log in every time, and I haven't been able to access their pages since. I use CInternetSession::GetHttpConnection passing the host name and login information. Then I call CHttpConnection::OpenRequest, and CHttpFile::SendRequest and read from the resulting CHttpFile object. This allowed me to display html pages in the past, but now with the login I get a 0 byte file. I think the username and password just aren't getting through, but I don't get an "access denied" html page, just a 0 byte file. Any idea what's going on and what I should do? Thanks for any help!

The relevant code is :
CInternetSession session;
CHttpFile* file = NULL;
CHttpConnection* hc = session.GetHttpConnection(Host,80,Uname,Pword);
file = hc->OpenRequest(NULL, urls[iterate], "", 1, NULL, NULL, INTERNET_FLAG_EXISTING_CONNECT );
file->SendRequest( "", 0, NULL, 0 );



Questionhow to store a value Pin
zahid_ash1-Dec-04 18:47
zahid_ash1-Dec-04 18:47 
AnswerRe: how to store a value Pin
RChin1-Dec-04 22:37
RChin1-Dec-04 22:37 
QuestionWill SP5 work ? Pin
Ritu Kwatra1-Dec-04 18:01
Ritu Kwatra1-Dec-04 18:01 
AnswerRe: Will SP5 work ? Pin
RChin1-Dec-04 22:30
RChin1-Dec-04 22:30 
GeneralRe: Will SP5 work ? Pin
Ritu Kwatra1-Dec-04 23:43
Ritu Kwatra1-Dec-04 23:43 
GeneralAbout Clipping algorithms Pin
Rassul Yunussov1-Dec-04 17:01
Rassul Yunussov1-Dec-04 17:01 
GeneralRe: About Clipping algorithms Pin
Ryan Binns1-Dec-04 17:05
Ryan Binns1-Dec-04 17:05 
GeneralRe: About Clipping algorithms Pin
Anonymous1-Dec-04 21:40
Anonymous1-Dec-04 21:40 
QuestionWhat is runtime Pin
Imtiaz Murtaza1-Dec-04 16:46
Imtiaz Murtaza1-Dec-04 16:46 
AnswerRe: What is runtime Pin
Ritu Kwatra1-Dec-04 18:10
Ritu Kwatra1-Dec-04 18:10 
QuestionAll code samples here are safe? Pin
nne-vitamin1-Dec-04 16:28
nne-vitamin1-Dec-04 16:28 
AnswerRe: All code samples here are safe? Pin
Ryan Binns1-Dec-04 17:09
Ryan Binns1-Dec-04 17:09 
GeneralForce a minimum size for an ActiveX control Pin
Ian Bowler1-Dec-04 15:16
Ian Bowler1-Dec-04 15:16 
Generalmultiplicative inverse in finite field Pin
Tiza1-Dec-04 15:16
Tiza1-Dec-04 15:16 
GeneralCreateDirectory w/ permissions Pin
Anonymous1-Dec-04 12:12
Anonymous1-Dec-04 12:12 
GeneralRe: CreateDirectory w/ permissions Pin
Graham Bradshaw1-Dec-04 13:40
Graham Bradshaw1-Dec-04 13:40 
GeneralRe: CreateDirectory w/ permissions Pin
Ravi Bhavnani2-Dec-04 0:15
professionalRavi Bhavnani2-Dec-04 0:15 

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.