最近一直被C# 调用native code时的内存错误,各种错误所困扰。而且在.net 4.0中非托管代码的异常不能被托管代码抓获,导致程序直接crash。 最终找到了.net 的方法。MSDN有关于expection 的详细解释。 1. 在.net 3.5中是可以抓取AccessViola...
分类:
其他好文 时间:
2014-06-18 17:10:39
阅读次数:
249
Billy investigates the question of applying greedy algorithm to different spheres of life. At the moment he is studying the application of greedy algo...
分类:
其他好文 时间:
2014-06-18 15:17:54
阅读次数:
272
BACKGROUND OF INVENTIONThis invention relates to a system and method for providing a native function call facility. In particular it relates to a syst...
分类:
编程语言 时间:
2014-06-18 13:24:05
阅读次数:
400
http://blogs.msdn.com/b/carlosag/archive/2006/04/17/microsoftwebadministration.aspx最好使用在IIS8中,因为为每一个application pool 都有自己独立的sandbox环境.这些sandbox运行在不同的用...
分类:
Web程序 时间:
2014-06-18 10:28:46
阅读次数:
183
Hibernate 默认总共支持 13 种生成策略 :
1. increment
2. identity
3. sequence
4. hilo
5. seqhilo
6. uuid
7. uuid.hex
8. guid
9. native
10. assigned
11. select
12. f...
分类:
系统相关 时间:
2014-06-17 22:30:41
阅读次数:
450
首先必须要了解客户端跳转和服务器端跳转的区别:
客户端跳转: response.sendRedict(String path),地址栏发生改变。不能传递request属性。
服务器端跳转: 地址栏不发生改变。能传递request属性。
request属性范围: 只有在服务器端跳转以后,所有设置的内容才会停留下来。
session属性范围: 不管是客户端跳转还是服务器端跳转,只要是是属性设...
分类:
编程语言 时间:
2014-06-17 22:27:29
阅读次数:
331
Back to READMEGetting StartedThis page tells you how to install Native Client and run demos, both in and outside of the browser. On Linux and Mac OS X...
分类:
其他好文 时间:
2014-06-17 21:25:23
阅读次数:
418
相同:其实servletContext和application 是一样的,就相当于一个类创建了两个不同名称的变量。在servlet中ServletContext就是application对象。大家只要打开jsp编译过后生成的Servlet中的_jspService()方法就可以看到如下的声明:Ser...
分类:
其他好文 时间:
2014-06-17 15:30:03
阅读次数:
187
webapp的一大优势便是在view切换时候可以拥有媲美与native的动画效果,但是很多时候那只是一种想法,真正的情况却不是这样产生此问题的原因有:① 手机CPU烂!② 手机显卡烂!就算四核其渲染也很有问题③ 高端手机浏览器会有BUG④ 低端手机支持不好(国内山寨机笑而不语)因为以上原因,事实上做...
分类:
移动开发 时间:
2014-06-17 14:21:37
阅读次数:
348
因为硬件资源的限制,Android在很多地方都使用了Pool的,特别是对于需要通过native的方式调用资源,比如专门用于获取Touch、Flinging以及其他手势速度的VelocityTracker类,文档中指明了调用方式必须是://创建
VelocityTrackermVelocityTracker=VelocityTracker.obtain();
//..
分类:
其他好文 时间:
2014-06-16 18:35:19
阅读次数:
226