⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 childprocessdlg.h

📁 操作系统实验,进程控制实验,Process.exe为父进程执行程序ChildProcess.exe为子进程执行的程序 该程序实现了进程间的消息通信
💻 H
字号:
// ChildProcessDlg.h : header file
//

#if !defined(AFX_CHILDPROCESSDLG_H__5DD07B60_29D0_4E15_9B7B_8C577511AA21__INCLUDED_)
#define AFX_CHILDPROCESSDLG_H__5DD07B60_29D0_4E15_9B7B_8C577511AA21__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

/////////////////////////////////////////////////////////////////////////////
// CChildProcessDlg dialog

class CChildProcessDlg : public CDialog
{
// Construction
public:
	CChildProcessDlg(CWnd* pParent = NULL);	// standard constructor
	HANDLE  hpipeRead;
	int CDECL MessageBoxPrintf(TCHAR*,TCHAR* szFormat,...);
	
// Dialog Data
	//{{AFX_DATA(CChildProcessDlg)
	enum { IDD = IDD_CHILDPROCESS_DIALOG };
	CString	m_strInfo;
	//}}AFX_DATA

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

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CChildProcessDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg BOOL OnCopyData(CWnd* pWnd, COPYDATASTRUCT* pCopyDataStruct);
	afx_msg void OnCreateAndReadData();
	afx_msg void OnReadFileMapping();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_CHILDPROCESSDLG_H__5DD07B60_29D0_4E15_9B7B_8C577511AA21__INCLUDED_)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -