www.pudn.com > ThemedRichEdit_Redis.zip > RichEdDemo.cpp


// RichEdDemo.cpp : Defines the entry point for the application. 
// 
 
#include "stdafx.h" 
#include "MainWnd.h" 
 
int APIENTRY _tWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPTSTR lpCmdLine, int nCmdShow) 
{ 
	//Register the RichEdit window classes in this process 
	HMODULE hRichEdMod = LoadLibrary(_T("RICHED20.DLL")); 
 
	//Show the main window of this demo 
	CMainWnd wnd; 
	wnd.DoModal(); 
 
	//We can exit now 
	FreeLibrary(hRichEdMod); 
 	return 0; 
}