Click here to Skip to main content
15,867,568 members
Articles / Desktop Programming / MFC

PXPerlWrap (PXPerl, reloaded)

Rate me:
Please Sign up or sign in to vote.
3.88/5 (20 votes)
3 Nov 200411 min read 212.9K   761   44  
A comprehensive Perl embedding solution.
// PXPerlDemoDlg.h : header file
//

#if !defined(AFX_PXPERLDEMODLG_H__4F11221C_DD19_4E94_B0B1_944210ACC010__INCLUDED_)
#define AFX_PXPERLDEMODLG_H__4F11221C_DD19_4E94_B0B1_944210ACC010__INCLUDED_

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


#include "PXPerl.h"

using namespace PXPerl;


/////////////////////////////////////////////////////////////////////////////
// CPXPerlDemoDlg dialog

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

// Dialog Data
	//{{AFX_DATA(CPXPerlDemoDlg)
	enum { IDD = IDD_PXPERLDEMO_DIALOG };
	CString	m_strRichEdit;
	CString	m_strSTDERR;
	CString	m_strSTDOUT;
	//}}AFX_DATA

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

// Implementation
protected:
	HICON m_hIcon;

	CPerl m_perl;

	// Generated message map functions
	//{{AFX_MSG(CPXPerlDemoDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	virtual void OnOK();
	virtual void OnCancel();
	afx_msg void OnExec();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_PXPERLDEMODLG_H__4F11221C_DD19_4E94_B0B1_944210ACC010__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
Software Developer
France France
Bouh

Comments and Discussions