Click here to Skip to main content
Click here to Skip to main content
Add your own
alternative version

Remote Processes and Machine control of Windows NT based systems (2000/XP)

, 1 Apr 2012 CPOL
Control certain aspects of machines sitting remotely, without having to install and trigger an application on the remote machine.
// RemoteLogonDlg.cpp : implementation file

#include "stdafx.h"
#include "RemoteAdmin.h"
#include "RemoteLogonDlg.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;

// CRemoteLogonDlg dialog

CRemoteLogonDlg::CRemoteLogonDlg(CWnd* pParent /*=NULL*/)
	: CDialog(CRemoteLogonDlg::IDD, pParent)
    m_strPassword = _T("");

void CRemoteLogonDlg::DoDataExchange(CDataExchange* pDX)
	DDX_Text(pDX, IDC_LOGON, m_strLogon);
	DDX_Text(pDX, IDC_PASSWORD, m_strPassword);

BEGIN_MESSAGE_MAP(CRemoteLogonDlg, CDialog)

// CRemoteLogonDlg message handlers

BOOL CRemoteLogonDlg::OnInitDialog() 
	// TODO: Add extra initialization here
	return TRUE;  // return TRUE unless you set the focus to a control
	              // EXCEPTION: OCX Property Pages should return FALSE

void CRemoteLogonDlg::OnCancelMode() 
	// TODO: Add your message handler code here

void CRemoteLogonDlg::OnOK() 
	GetDlgItemText(IDC_REMOTEIP, m_strRemoteIP);

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.


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Prateek Kaul
Web Developer
India India
No Biography provided

| Advertise | Privacy | Terms of Use | Mobile
Web03 | 2.8.141030.1 | Last Updated 1 Apr 2012
Article Copyright 2003 by Prateek Kaul
Everything else Copyright © CodeProject, 1999-2014
Layout: fixed | fluid