Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to use CInternetSession calss? 1

Status
Not open for further replies.

zulfi1234

Instructor
Jul 2, 2000
32
PK
I am trying to use CInternetSession class in my program but I am getting an error of undeclared identifier. Can somebody please help me? i have got IE installed.
 
<br><br>If we had some code to look at it might help us undestand your problem better. Anyway here is an example of using the class you mention:<br><br>CInternetSession sess;<br>CHttpConnection* pConn = NULL;<br><br>pConn = sess.GetHttpConnection(&quot;ibm.com&quot;, (INTERNET_PORT)80);<br><br><br>Hope this helps<br>-pete
 
Thanks for your attention. I am not able to use CInternetSession&nbsp;&nbsp;at&nbsp;&nbsp;first place. When I use it it gives me unknown identifier. I read somewhere that it requires the installation of IE. IE supplies some dll which distributes CInternetSession.I have got IE installed but still I am getting error of unknown identifier for CInternetSession. Please help me.<br><br>Zulfi.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top