static library中能不能带资源

========================

 

Resources in a static library

Stuart Redmann posted on Friday, December 14, 2007 8:31 AM

You are wrong. Static libraries can very well contain resources. It's just the resource editor that cannot cope easily with distributed resource IDs.   Just add a resource file to your static library. The build step will compile all .rc files that are part of the project with the resource compiler. Keep in mind that the resource compiler generates plain .obj/.res files which can be linked just like code object files.  Regards, Stuart
posted @ 2011-01-27 10:23  kevinzhwl  阅读(223)  评论(0编辑  收藏  举报