Click here to Skip to main content
15,910,981 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: variable solution compiles, but I can't get at value: [modified] Pin
e40s9-Nov-07 6:36
e40s9-Nov-07 6:36 
GeneralRe: variable solution compiles, but I can't get at value: Pin
David Crow9-Nov-07 6:40
David Crow9-Nov-07 6:40 
GeneralRe: variable solution compiles, but I can't get at value: Pin
e40s9-Nov-07 6:45
e40s9-Nov-07 6:45 
GeneralRe: variable solution compiles, but I can't get at value: Pin
e40s9-Nov-07 6:47
e40s9-Nov-07 6:47 
GeneralRe: variable solution compiles, but I can't get at value: Pin
David Crow9-Nov-07 6:52
David Crow9-Nov-07 6:52 
GeneralRe: variable solution compiles, but I can't get at value: [modified] Pin
e40s9-Nov-07 7:04
e40s9-Nov-07 7:04 
GeneralRe: variable solution compiles, but I can't get at value: Pin
David Crow9-Nov-07 7:11
David Crow9-Nov-07 7:11 
GeneralRe: variable solution compiles, but I can't get at value: Pin
e40s9-Nov-07 7:23
e40s9-Nov-07 7:23 
The link was informative. (For the future, especially about their inability to access non-static class member data using the member-selection operators mentioned. Learning more every day.)

What I tried:

// MemMapCppClientDlg.h : header file
//

#if !defined(AFX_MEMMAPCPPCLIENTDLG_H__A51F6AF7_F28D_461D_8FB3_EFC7B929D99C__INCLUDED_)
#define AFX_MEMMAPCPPCLIENTDLG_H__A51F6AF7_F28D_461D_8FB3_EFC7B929D99C__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CMemMapCppClientDlg dialog

class CMemMapCppClientDlg : public CDialog
{
// Construction
public:
	static UINT UWM_DATA_READY;
	CMemMapCppClientDlg(CWnd* pParent = NULL);	// standard constructor
         static CString CMemMapCppClientDlg::GetContent();

// Dialog Data
	enum { IDD = IDD_MEMMAPCPPCLIENT_DIALOG };
	// ClassWizard generated virtual function overrides
	protected:

// Implementation
protected:
	// Generated message map functions
	//{{AFX_MSG(CMemMapCppClientDlg)
	virtual BOOL OnInitDialog();
//[leave the dialog]	afx_msg void CMemMapCppClientDlg::OnWindowPosChanging(WINDOWPOS FAR* lpwndpos);
	afx_msg LRESULT OnDataReady(WPARAM wParam, LPARAM lParam);
	DECLARE_MESSAGE_MAP()
	static CString CMemMapCppClientDlg::m_strContent; 

private:
	//enum { m_dwMemFileSize = 2 * 1024 };
	LPCTSTR m_pszMemMapFileName;
};

	#define UWM_DATA_READY_MSG _T("UWM_DATA_READY_MSG-{7FDB2CB4-5510-4d30-99A9-CD7752E0D680}")

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

#endif // !defined(AFX_MEMMAPCPPCLIENTDLG_H__A51F6AF7_F28D_461D_8FB3_EFC7B929D99C__INCLUDED_)



Darn. Same errors. (Afterward I even tried adding scope resolution to some of the statements on the .cpp. Nothing changed for the better so I took those off.)
GeneralRe: variable solution compiles, but I can't get at value: Pin
David Crow9-Nov-07 7:28
David Crow9-Nov-07 7:28 
GeneralRe: variable solution compiles, but I can't get at value: Pin
e40s9-Nov-07 8:15
e40s9-Nov-07 8:15 
GeneralRe: variable solution compiles, but I can't get at value: Pin
David Crow9-Nov-07 8:27
David Crow9-Nov-07 8:27 
GeneralRe: variable solution compiles, but I can't get at value: [modified] Pin
e40s9-Nov-07 8:39
e40s9-Nov-07 8:39 
GeneralRe: variable solution compiles, but I can't get at value: Pin
e40s9-Nov-07 10:06
e40s9-Nov-07 10:06 
QuestionRe: variable solution compiles, but I can't get at value: Pin
David Crow9-Nov-07 10:15
David Crow9-Nov-07 10:15 
AnswerRe: variable solution compiles, but I can't get at value: Pin
e40s9-Nov-07 13:01
e40s9-Nov-07 13:01 
GeneralRe: variable solution compiles, but I can't get at value: Pin
David Crow9-Nov-07 14:51
David Crow9-Nov-07 14:51 
GeneralRe: variable solution compiles, but I can't get at value: Pin
e40s10-Nov-07 16:23
e40s10-Nov-07 16:23 
AnswerRe: variable solution compiles, but I can't get at value: Pin
Bram van Kampen10-Nov-07 15:02
Bram van Kampen10-Nov-07 15:02 
GeneralRe: variable solution compiles, but I can't get at value: Pin
e40s10-Nov-07 16:26
e40s10-Nov-07 16:26 
QuestionDisplaying Graph Controls values in a grid. Pin
pod_9998-Nov-07 10:11
pod_9998-Nov-07 10:11 
JokeRe: Displaying Graph Controls values in a grid. Pin
shpid3r8-Nov-07 10:18
shpid3r8-Nov-07 10:18 
AnswerRe: Displaying Graph Controls values in a grid. Pin
Llasus8-Nov-07 12:56
Llasus8-Nov-07 12:56 
GeneralRe: Displaying Graph Controls values in a grid. Pin
pod_9999-Nov-07 0:16
pod_9999-Nov-07 0:16 
AnswerRe: Displaying Graph Controls values in a grid. Pin
Nelek8-Nov-07 21:36
protectorNelek8-Nov-07 21:36 
GeneralRe: Displaying Graph Controls values in a grid. Pin
pod_9999-Nov-07 0:15
pod_9999-Nov-07 0:15 

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.