mrfangzheng

Hope and fear are useless. Be confident, and always be prepared for the worst.
  首页  :: 新随笔  :: 联系 :: 管理

2011年8月1日

摘要: 一个Solution可能包含多个DLL, EXE的工程.原则1:尽量把代码放到DLL中, EXE尽可能精简.原则2:把公用的.h放到一个Interfaces的DLL项目中. 任何DLL只要使用公用的.h文件都依赖这个工程. 但DLL之间不互相依赖.这个项目包含:接口类(纯虚类)简单数据类(用于各个层... 阅读全文

posted @ 2011-08-01 15:14 mrfangzheng 阅读(282) 评论(0) 推荐(0) 编辑