Little Languages with Lex, Yacc, and MFC
By Jason Shankel
Dr. Dobb's Journal January 1999
void CSlideView::OnCompile() { CString compileString = ""; EDITSTREAM es = {reinterpret_cast<DWORD>(&compileString), 0, SlideViewEditStreamCallBack}; GetRichEditCtrl().StreamOut(SF_TEXT, es); }
Example 3: Streaming CSlideView's text into a CString.
Copyright © 1999, Dr. Dobb's Journal