Click here to Skip to main content
15,886,422 members
Articles / Desktop Programming / MFC

DNS if u need it

Rate me:
Please Sign up or sign in to vote.
4.11/5 (9 votes)
1 Oct 2002 109.5K   1.9K   20  
Simple quering DNS servers for retrieve information about host's DNS records
#if !defined(AFX_QUERYDLG_H__9C5033C3_2A44_4768_A73D_584842B4691D__INCLUDED_)
#define AFX_QUERYDLG_H__9C5033C3_2A44_4768_A73D_584842B4691D__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// QueryDlg.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CQueryDlg dialog

class CQueryDlg : public CDialog
{
// Construction
public:
	CQueryDlg(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CQueryDlg)
	enum { IDD = IDD_DIALOG1 };
	CString	m_Dns;
	CString	m_Host;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CQueryDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CQueryDlg)
		// NOTE: the ClassWizard will add member functions here
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_QUERYDLG_H__9C5033C3_2A44_4768_A73D_584842B4691D__INCLUDED_)

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Web Developer
Russian Federation Russian Federation
Programmer with 5 year of work
like networking applications and fun codes

Comments and Discussions