在View 类中使用它,就在YourView.cpp中定义这样的全局变量,比如:
// YourView.cpp : implementation of the CAllureView class
//#include "stdafx.h"
#include "Your.h"....../////////////////////////////////////////////////////////////////////////////
// CYourView
CImageProcess theImageProcess;IMPLEMENT_DYNCREATE(CYourView, CView)