CString GetText(CString strURL);
void CTestMfc1126Dlg::OnButton1()
{
// TODO: Add your control notification handler code here
GetText("http://bbs.pediy.com/showthread.php?t=206092");
}
CString GetText(CString strURL)
{
char* pBuf = new char[0x10]; ///< 这里制造一个内存泄露
/**
Detected memory leaks!
Dumping objects ->
D:\temp-ls\testMfc1126\testMfc1126Dlg.cpp(184) : {94} normal block at 0x00571648, 16 bytes long.
Data: < > CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD CD
Object dump complete.
*/