Click here to Skip to main content
15,887,596 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: unhandle exception Pin
samira forooghi21-Apr-09 1:54
samira forooghi21-Apr-09 1:54 
GeneralRe: unhandle exception Pin
Rajesh R Subramanian21-Apr-09 2:02
professionalRajesh R Subramanian21-Apr-09 2:02 
QuestionSetWindowText for static control Pin
sashoalm20-Apr-09 22:31
sashoalm20-Apr-09 22:31 
AnswerRe: SetWindowText for static control Pin
_AnsHUMAN_ 20-Apr-09 22:36
_AnsHUMAN_ 20-Apr-09 22:36 
GeneralRe: SetWindowText for static control Pin
sashoalm20-Apr-09 22:58
sashoalm20-Apr-09 22:58 
GeneralRe: SetWindowText for static control Pin
sashoalm20-Apr-09 23:01
sashoalm20-Apr-09 23:01 
GeneralRe: SetWindowText for static control Pin
_AnsHUMAN_ 20-Apr-09 23:04
_AnsHUMAN_ 20-Apr-09 23:04 
Questionvariable and class View Pin
durban220-Apr-09 21:11
durban220-Apr-09 21:11 
MFC, STUDIO 2008, MDI-project
Christ has arisen!
There are 2 classes:
class CADO_MDIView : public CscrollView
class CAdodc_MDI : public Cdialog

В class CADO_MDIView имеем
CString m_s5(“YYYYYYYYYYY”);
MessageBox(m_s);

// ADO_MDIView.cpp : implementation of the CADO_MDIView class
#include "stdafx.h"
#include "ADO_MDI.h"
#include "ADO_MDIDoc.h"
#include "CntrItem.h"
#include "ADO_MDIView.h"
#include "Adodc_MDI.h"

// Adodc_MDI.cpp : implementation file
#include "stdafx.h"
#include "ADO_MDI.h"
//-1 #include "ADO_MDIView.h"
#include "Adodc_MDI.h"
//-3 #include "ADO_MDIView.h"

CADO_MDIView dlg_View; // adodc_mdi.cpp(211)
dlg_View.m_s5;
--------------------------------------
ado_mdiview.h(23) : error C2143: syntax error : missing ';' before '*'
ado_mdiview.h(23) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
ado_mdiview.h(23) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
ado_mdiview.h(23) : warning C4183: 'GetDocument': missing return type; assumed to be a member function returning 'int'
adodc_mdi.cpp(211) : error C2248: 'CADO_MDIView::CADO_MDIView' : cannot access protected member declared in class 'CADO_MDIView'
ado_mdi\ado_mdiview.h(18) : see declaration of 'CADO_MDIView::CADO_MDIView'
ado_mdi\ado_mdiview.h(15) : see declaration of 'CADO_MDIView'
--------------------------------------
// Attributes
public:
CADO_MDIDoc* GetDocument() const; // ado_mdiview.h(23)
--------------------------------------
class CADO_MDIView : public CScrollView
{
protected: // create from serialization only
CADO_MDIView(); // ado_mdi\ado_mdiview.h(18)
AnswerRe: variable and class View Pin
CPallini20-Apr-09 21:49
mveCPallini20-Apr-09 21:49 
QuestionWindows events Pin
sunny_vc20-Apr-09 19:05
sunny_vc20-Apr-09 19:05 
AnswerRe: Windows events Pin
Stuart Dootson20-Apr-09 20:09
professionalStuart Dootson20-Apr-09 20:09 
GeneralRe: Windows events Pin
sunny_vc20-Apr-09 20:15
sunny_vc20-Apr-09 20:15 
GeneralRe: Windows events Pin
Stuart Dootson20-Apr-09 21:05
professionalStuart Dootson20-Apr-09 21:05 
QuestionHow to Read data using IfStream in while loop? [modified] Pin
pohcb_sonic20-Apr-09 16:31
pohcb_sonic20-Apr-09 16:31 
QuestionRe: How to Read data using IfStream? Pin
David Crow20-Apr-09 17:17
David Crow20-Apr-09 17:17 
AnswerRe: How to Read data using IfStream? Pin
pohcb_sonic20-Apr-09 18:42
pohcb_sonic20-Apr-09 18:42 
QuestionRe: How to Read data using IfStream? Pin
David Crow21-Apr-09 3:12
David Crow21-Apr-09 3:12 
AnswerRe: How to Read data using IfStream? Pin
pohcb_sonic21-Apr-09 14:31
pohcb_sonic21-Apr-09 14:31 
QuestionRe: How to Read data using IfStream? Pin
David Crow22-Apr-09 2:50
David Crow22-Apr-09 2:50 
QuestionHaving trouble converting Java Code to C++ Pin
NxtGr8One20-Apr-09 16:23
NxtGr8One20-Apr-09 16:23 
AnswerRe: Having trouble converting Java Code to C++ Pin
David Crow20-Apr-09 16:51
David Crow20-Apr-09 16:51 
QuestionC++ Directory Functions Pin
gamefreak229120-Apr-09 15:37
gamefreak229120-Apr-09 15:37 
AnswerRe: C++ Directory Functions [modified] Pin
Joe Woodbury20-Apr-09 16:33
professionalJoe Woodbury20-Apr-09 16:33 
GeneralRe: C++ Directory Functions Pin
gamefreak229120-Apr-09 17:01
gamefreak229120-Apr-09 17:01 
QuestionRe: C++ Directory Functions Pin
David Crow20-Apr-09 17:37
David Crow20-Apr-09 17:37 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.