Click here to Skip to main content
15,892,298 members
Articles / Desktop Programming / MFC

A PIC C Code Wizard

Rate me:
Please Sign up or sign in to vote.
4.94/5 (27 votes)
5 May 2003CPOL5 min read 156.2K   7.9K   46  
Creates C code templates for PIC microcontrollers. The default templates are for use with the Hi-Tech (tm) PICC compiler.
#if !defined(AFX_IOPORTC_H__B4E109F6_3A9F_4CCD_8A7D_AA5F5421B251__INCLUDED_)
#define AFX_IOPORTC_H__B4E109F6_3A9F_4CCD_8A7D_AA5F5421B251__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CIOPortC dialog

class CIOPortC : public CPropertyPage
{
	DECLARE_DYNCREATE(CIOPortC)

// Construction
public:
	CIOPortC();
	~CIOPortC();

// Dialog Data
	//{{AFX_DATA(CIOPortC)
	enum { IDD = IDD_IO_PORTS_C };
		// NOTE - ClassWizard will add data members here.
		//    DO NOT EDIT what you see in these blocks of generated code !
	//}}AFX_DATA


// Overrides
	// ClassWizard generate virtual function overrides
	//{{AFX_VIRTUAL(CIOPortC)
	public:
	virtual BOOL OnSetActive();
	virtual BOOL OnKillActive();
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	// Generated message map functions
	//{{AFX_MSG(CIOPortC)
		// 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_IOPORTC_H__B4E109F6_3A9F_4CCD_8A7D_AA5F5421B251__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, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Delphi
United States United States
Carlos Buelna works in the automotive industry.

Comments and Discussions