現在在做一個addin的項目。本來只是一個比較簡單的玩意,一個新feature的需求使得我有機會搞了一點interprocess的code。雖然coding的複雜度並不大,不過的確加深了關於interprocess sync的理解。note it down。需求:這個addin涉及的application包括兩個。原來的行為是:每一次從一個app(app1)通過addin調用另一個application(app2)來完成一部分工作時,都是啟動一個新的進程instance,使用者抱怨啟動速度太慢,
Our Architect visited China recently. I had a 1-1 with him and several meetings. Gains from Architect:1. Algorithm: it would be good to keep doing some practice regularly for example Project Euler, but it's fine to not put effort on it on intention.
0. Stack unwinding.When an exception is thrown and control passes from a try block to a handler, the C++ run time calls destructors for all automatic objects constructed since the beginning of the try block. This process is called stack
1. Persistence 1. Key concept is meta type and meta data. take persisting a class as example. Basically, we need to be able to save it into binary file and be able to read it back from binary stream. The basic rule to achieve this: 1. In order to
Yes, you can build x86 + x64 version of your VS solution in parallel.Steps:1. open your solution to build as debug + x86. No writing to any files, just building.2. open your solution to build as debug + x64. VS now will prompt you to choose another
One of my c# project refers to a COM module. When I built it on my new machine installed with Win7 x64, it failed to compile correctly. With diagnosis, found out the cause: the com module failed to be registered into Reg (regsvr32 /s xx.dll). I
1。使用者控制項介紹 除了 ASP.NET 提供的內建伺服器控制項外,還可以使用已學會的編寫 Web Form頁的相同編程技巧輕鬆地定義自己的控制項。實際上,只需做少量的修改,幾乎任何 Web Form頁即可在其他頁中作為伺服器控制項重用(注意,使用者控制項是 System.Web.UI.UserControl 類型,該類型直接從 System.Web.UI.Control 繼承)。用作伺服器控制項的 Web Form頁簡稱為使用者控制項。作為約定,使用 .ascx