( Index )

Brief Information about the February '02 CSIG Meeting

General Review of the last 12 Months

For this month's meeting we will have a review of the material covered during the last year or so. I will point out some of the more interesting problems and concepts that were demonstrated as well as answer questions. In some cases, we will have discussions and/or debates on possible alternatives.

Sample Output

For the actual meeting we had an interesting discussion based on some questions from one of the members. The problem was to create a DLL file that contained a dialog box. This dialog box was to receive messages from the main calling program and then display them in an edit control. As can be seen in the above picture, the edit box displays the message. Here's the code for the Launcher program:

BOOL CLauDlg::OnInitDialog()

	FunctionOne("Hello Ron number 2");
	return TRUE;  // return TRUE  unless you set the focus to a control

And now here's the code for the DLL file:

class CMsgBox : public CDialog
// Construction
	CMsgBox(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	enum { IDD = IDD_DIALOG1 };
	CEdit	m_Edit1;
	CString	m_EString;

int FunctionOne(char *arg)
	CMsgBox xxx;
	xxx.m_EString = arg;		// See UpdateData(FALSE)
	return 0;
FunctionOne() and the class CMsgBox are contained in the DLL which is called Feb03, Most of the discussion centered around the integrated development environment and the class wizard: how to set the parameters for passing this information back and forth from the main executable to the EXE file. It was a very interesting meeting.

"Random Access" questions start at 7:30 Tuesday night.


Source Code Files

For help, email me at b a r n o l d @ i e e e . o r g
Back to C++ Main Page