随笔-5  评论-4  文章-0  trackbacks-0
  2011年12月20日


 



 



当主程序编译结果是.NET Framework4.5



 






 
 
 
 
 
 
 
 
 
 
 
 







 







The 
DevExpress.XtraEditor.dll
如果出厂时,是在.NET Framework2.0环境下编译出来的,能否在上述环境下运行?猜想的可能是如下:



 



1.      
主程序激活对应版本的CLR, 如上例子是激活.NET Framework4.0,



2.      
主程序在调用DevEpress.Data.dll, 照样将其装入Process space.



3.      
DevExpress.Data.dll调用其依赖项dll



DevExpress.Data.dll是在.NET Framework2.0环境下编译的, DevExpress.Data.dll具体调用时候,会检查dll-Meta中的依赖项,比如.



.assembly extern System



{



 .publickeytoken
= (B7 7A 5C 56 19 34 E0 89 ) 



 .ver 2:0:0:0



}



.assembly extern System.Configuration



{



 .publickeytoken
= (B0 3F 5F 7F 11 D5 0A 3A )   



.ver 2:0:0:0



}



依具体dll.NET
Framework版本,装载对应版本的dll到同一个process空间运行。



 



这样就允许不同.NET
Framework版本的dll“混合运行”在同一个.NET Framework Runtime中。



 



 



 



CLRVer.exe – to tell .NET Framework
versions installed on your machine.



 



The CLR loading process:



1.      
All managed module and assembly
must use the Windows portable executable(PE)file format and be either Exe or
dll.



2.      
CLR be implemented as a COM
server contained inside a dll.



3.      
After windows examined the ExE
file’s header to determine whether to create 32-process, a 64bit process, or
WoW64 process, windows loads the the corresponding version of MSCorEE.dll into
the process address space.



4.      
The process primary thread
calls the method defined in MSCorEE.dll, and initializes the CLR



5.      
Loads the EXE assembly, Calls
the exe’s Main method.



 



 



 



 



posted @ 2011-12-20 09:25 Solar 阅读(36) 评论(0) 编辑
  2011年11月15日

当学术界解决其理论问题后,将形成形成了一个已开发者为核心的生态链。

 

在工程界,特别是企业应用中,SilverLight应用已普遍。
其中原因是,因为与微软常规开发技术和开发工具平滑过度和很好地结合。

 

关于云端,当前比较实际的Web富交互技术,还是SilverLight,  不过选择好象又很多,包括微软自身又有Metro技术
posted @ 2011-11-15 18:42 Solar 阅读(5) 评论(0) 编辑
  2009年2月18日

Should deal the framework
Pay much attention on "there is no bool datatype in oralce datatype system"
so in my entity member datatype system, should I still use bool? the answer is yes!

 


posted @ 2009-02-18 20:01 Solar 阅读(44) 评论(0) 编辑
  2007年9月4日
同事不知从哪下的东东,经不住群内的兄弟要求,将东东拿出来与大家分享:



    还是第一次在网上共享一些东东,而且是as pirate,
    也真看了看DevExpress源码,那真是劳动.... 

    拿来主义地用一些东东,以前真很轻松,但如果你,自己写过程序,做过项目,做过产品,养过的孩子..,真的不轻松, 不太心安理得.....

     安慰自己一下:亲密接触后,爱上后,自然会想办法去娶她,就象终于找机会,想办法让娶上Visual Studio,  CBuilder...及myLiu,      所以,如果你们真正迎娶DXperience, 我们也许还是DevExpress的Salesman....

     当今的逻辑有时也很有意思: we -pirate,   DevExpress-victim,  但我们又是不是鸦片贩卖者 ?

http://temp.gx.ap.bentoo.com/DXperience.7.2.3.SOURCE.7z.rar
(下载完了以后,把.rar的后缀去掉, 此url有效期不超过两周)
  
posted @ 2007-09-04 15:54 Solar 阅读(637) 评论(4) 编辑
  2007年9月2日

DOS中断调用时代 ---- 可读到BIOS源码
TurboC时代              ---- 可读到C库函数源码
VC时代                    ---- 可读到MFC源码
Borland时代             -----可读到OWL,VCL源码
.NET时代 ..............求FCL源码。。。 

 Borland的天才Anders好象是到M$了吧,
如果有读过VCL源码的人,用.NET下的FCL真有会心一笑的感觉
如果你有用过Delphi/CBuilder的ClientDataSet, 就会猜想ADO.NET是否也是Anders带过去的...
(.NET时代,不知还有没人读一些库源码)

还想说一句:如果你写过Java客户端程序的,要知道所用的AWT,SWING, 也是Borland的那群人配合SUN公司搞出来的。也可以看到VCL的影子。

Boland传奇, Borland.......虽然Dephi/CBuilder好象穷得只好卖出去了....Boland传奇
我想将来如果有人写《IT考古》,在大书特书MS时,一定要当好好丹青Borland....
posted @ 2007-09-02 22:40 Solar 阅读(145) 评论(0) 编辑
仅列出标题