[轉載自: http://www.unbe.cn/blog/?p=153]今天在Google Code上建了一個項目,在選擇項目License的時候猶豫了很久,都不知道這些License之間的區別是什麼,各有什麼特點,後來隨便選了GNU General Public License 2.0….剛剛上網找了下開源協議的介紹,發現好像很少有這方面資料,下面是比較全的一個,但好像還是少了幾個常用的License,再慢慢找找看吧。MPL LicenseMPL
文章目錄 Constructor Injection with PicoContainerSetter Injection with SpringInterface Injection [From: http://www.martinfowler.com/articles/injection.html]Forms of Dependency InjectionThe basic idea of the Dependency
As you can see, Guice saves you from having to write factory classes. You don'thave to write explicit code wiring clients to their dependencies. If you forget toprovide a dependency, Guice fails at startup. Guice handles circular
DWMAPI.DLL is a vista only dll, but it will be wanted in some cases on non-Vista OS. It seems a MS bug. Haha. “Now that vista is out, can you please fix the MAJOR bug that causes IE7 to kill any non vista box. Namely that IEFRAME.DLL seems to have
【轉載自:http://blog.csdn.net/Elminster/archive/2004/02/18/9741.aspx】先來看一小段代碼,它取自 Bjarne Stroustrup 的演講“Speaking C++ as a Native”:// use an object to represent a resource ("resource acquisition is initialization")class File_handle { // belongs in some
1. Multibyte shows to us as char*. While in fact, it can be any code page encoding, including gbk, utf8, etc. If a char* represents utf8 characters, we need to handle it specially in below way:// Convert unicode(windows default utf16) to utf8 char*
由於我們經常要調用一些第三方廠商或其他編譯器編寫的動態連結程式庫,但是一般都不提供源檔案或.lib檔案,而作為VC隱式連結到DLL (implicitly link to the DLL)調用,這些卻是必需的。本文將主要討論在沒有源檔案及.lib輸入庫檔案或欲調用 Windows未公開函數的情況下重建.Lib檔案的方法。在建立之前,我們首先要瞭解一下DLL輸出函數的幾種方式。一、從DLL中輸出函數的方式(calling conventions