home *** CD-ROM | disk | FTP | other *** search
/ io Programmo 40 / IOPROG_40.ISO / SOFT / mfc / URLCheck.ZIP / webworld.h < prev   
Encoding:
C/C++ Source or Header  |  1997-11-26  |  672 b   |  28 lines

  1. // Internet.h: interface for the CInternet class.
  2. //
  3. //////////////////////////////////////////////////////////////////////
  4.  
  5. #if !defined(AFX_INTERNET_H__B08C82D2_4F8B_11D1_87C8_00001C302581__INCLUDED_)
  6. #define AFX_INTERNET_H__B08C82D2_4F8B_11D1_87C8_00001C302581__INCLUDED_
  7.  
  8. #if _MSC_VER >= 1000
  9. #pragma once
  10. #endif // _MSC_VER >= 1000
  11.  
  12. #include "wininet.h"
  13.  
  14. class CWebWorld  
  15. {
  16. public:
  17.     void SetErrorMessage(CString s);
  18.     CString GetWebPage(const CString& Url);
  19.     CWebWorld();
  20.     virtual ~CWebWorld();
  21.  
  22. private:
  23.     CString m_ErrorMessage;
  24.     HINTERNET m_Session;
  25. };
  26.  
  27. #endif // !defined(AFX_INTERNET_H__B08C82D2_4F8B_11D1_87C8_00001C302581__INCLUDED_)
  28.