GAC解決的問題是dotnet assembly如何共用assembly的問題,比如dotnet framework,肯定要部署到GAC中。註:dotnet assembly locate rule是先找GAC,再找當前app所在的分類樹(CLR will firstly search in GAC for assembly loading and then get into app specific directory / path
To avoid normal stepIntos, you can just put below text into a reg file and run it:Windows Registry Editor Version 5.00[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\8.0\NativeDE\StepOver]"CString StepOut"="CString.\\:\\:.*=NoStepInto""INV_STL
現在在做一個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.
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
Function object, also called functor, functional, or functionoid,is a computer programming construct allowing an object to be invoked or called as though it were an ordinary function, usually with the same syntax.Several notes for it:1. In C, there
在pc領域,intel和windows依然強勢。但是,在行動裝置領域,主要是手機和剛剛興起的平板電腦,intel發力不足,讓ARM佔盡了先機,幾乎處於壟斷地位;intel沒飯吃,windows自然也不好過。鑒於ARM在移動領域的強勢,ms也不得不在windows8中標榜支援ARM處理器了。1. ARM不單賣處理器,還賣license。大名鼎鼎的apple A4就是licensee。ARM processors are developed by ARM and by ARM licensees.
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
記下這一題是因為更加認識到打破“慣性思維”解決問題的必要性和重要性。引以為戒,以後解決問題時,要多換個角度思考。摘自coolshell下面是一個C程式,其想要輸出20個減號,不過,粗心的程式員把代碼寫錯了,你需要把下面的代碼修改正確,不過,你只能增加或是修改其中的一個字元,請你給出三種答案。12345int n = 20; for(int i = 0; i < n; i--){ printf("-");}下面是正確答案——12345678//第一種解法:在for迴圈中給 i