摘要:
MFC框架之我见——模拟分析复习MFC知识,再次翻看侯捷的《深入浅出》,下面是模拟MFC框架运行的代码//// mfc.h////// Written by Leezhm 27st August, 2008// Contact : Leezhm@126.com// //------------CObject Class// |// |---CCmdTarget Class// | // |---CWinThread Class// | |// ... 阅读全文
随笔档案-2008年08月
关于Virtual继承及Virtual Table
2008-08-27 16:24 by libiver, 164 阅读, 收藏,
摘要:
简单的虚拟函数实例,以及虚拟函数列表。// mfcClsVtable.cpp : Defines the entry point for the console application.//#include "stdafx.h"#include <iostream>using std::cin;using std::cout;using std::endl;class A{public: virtual void mvFunA(void){}; virtual void mvFunB(void){}; void mFun1(void); void mFun2(v 阅读全文
关于ERROR LNK 2005错误
2008-08-20 14:53 by libiver, 417 阅读, 收藏,
摘要:
关于ERROR LNK 2005错误相信很多人对这个错误是一点也不陌生,甚至有些害怕,我也一样。其实自己遇到过这样的问题,也每次都解决了这样的问题,但关键是自己没总结,所以总是再遇到再改,很烦人,查资料也麻烦。现在有时间了总结下。遇到问题我最喜欢F1,所以还是先看MSDN是怎么说的:To fix by checking the following possible causes1. Mixing static and dynamic libraries when also using /clr. 2. The symbol is a packaged function (created by. 阅读全文
浙公网安备 33010602011771号