|
-
July 14th, 2004, 10:35 PM
#1
Calling CDialog class from my Own class
good day once again! i created a raw class and would like to call a class which is derived from CDialog class. i got these problem "syntax error : missing ';' before identifier 'dlgReportView". here is my code snipet
//My own class
#include "BPLS Assessment.h"
#include "RecordViewer.h"
class CManagerialReport
{
public:
CReportViewer dlgReportView; // compiler error pointing here
void ReportByMainBusiness(int iRepType,int iSize = 0);
void RetrieveMBusiness();
void RetrieveStatus();
void Initialization();
void RetrieveOwnKind();
CStringArray m_sArrOwnKind,m_sArrBnsStat,m_sArrMainBusiness[2];
CManagerialReport();
virtual ~CManagerialReport();
private:
CString ComputeVariance(CString sStr1, CString sStr2, int iSwitch);
CString sQuery;
CBPLSAssessmentApp *pApp;
_RecordsetPtr pSet;
CString sCurrentYear;
};
im using MFC in this program... can anyone explain my prob and also the good approach/solution for this.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|