|
MFC -
其他
|
|
作者:Administrator
|
|
周日, 20 7月 2008 09:22 |
want to add some initial code in DllMain in a MFC dll project, but after I added the code and compiled, there was a link error: mfcs42d.lib(dllmodul.obj) : error LNK2005: _DllMain@12 already defined in DLLMAIN.OBJ
DLLMAIN.cpp is the file I created by my own and I define DllMain() in it. |
|
阅读全文...
|
|
MFC -
其他
|
|
作者:Administrator
|
|
周日, 20 7月 2008 09:16 |
|
这一篇blog,是想试图解释下MFC建立的对话框程序在主窗口InitInstance()函数里面无法建立窗口原因。 刚刚看那篇blog时,自己也是愣了一下,以前也有搞firmware的同事问过我同样的问题,当时也不知道是怎么回事,现在调试了一下,解释下。 |
|
阅读全文...
|