COM组件程序:模块,它可以是 动态连接库(DLL) && 可执行程序(EXE),称为 进程内组件(in-of-process component) && 进程外组件(out-of-process component)。 COM对象:建立在二进制可执行代码级的基础上,因此COM对象是语言无关的...
分类:
其他好文 时间:
2014-07-23 12:23:06
阅读次数:
244
一、获取当前文件的路径1. System.Diagnostics.Process.GetCurrentProcess().MainModule.FileName 获取模块的完整路径。可获得当前执行的exe的文件名。2. System.Environment.CurrentDirectory 获...
分类:
其他好文 时间:
2014-07-22 23:26:17
阅读次数:
295
【UV mapping】 UV mappingis the3D modelingprocess of making a 2D image representation of a 3D model's surface. This process projects atexture maponto .....
分类:
移动开发 时间:
2014-07-22 22:45:15
阅读次数:
303
(英文部分为转的。代码是个人代码)
1 What’s inotify
The inotify API provides a mechanism for monitoring file system events. Inotify can be used to monitor individual files, or to monitor directories. When a direc...
分类:
系统相关 时间:
2014-07-22 22:39:53
阅读次数:
476
这个函数处理这种情况,对于一个选择,SELECT * FROM TEST_A,TEST_B,TEST_C,TEST_D WHERE (A=1 AND B=1) OR (A=1 AND C=1) OR (A=1 AND D=1);
语句中的WHERE条件:(A=1 AND B=1) OR (A=1 AND C=1) OR (A=1 AND D=1)可以改写为(A=1)AND (B=1 OR C=1 OR D=1)...
分类:
数据库 时间:
2014-07-22 17:44:42
阅读次数:
394
lock 关键字将语句块标记为临界区,方法是获取给定对象的互斥锁,执行语句,然后释放该锁。lock语句根本使用的就是Monitor.Enter和Monitor.Exit,也就是说lock(this)时执行Monitor.Enter(this),大括号结束时执行Monitor.Exit(this).他...
分类:
其他好文 时间:
2014-07-22 00:31:36
阅读次数:
242
下图是asterisk的呼叫流程图:
我们以sip的呼叫过程为例来描述,其他channel的呼叫过程基本类似。
Astersik下注册的sip用户主动发起一个呼叫的函数调用过程(incoming)如下:
do_monitor->sipsock_read->handle_request->handle_request_invite->sip_new/ast_pbx_start->pbx_th...
分类:
其他好文 时间:
2014-07-22 00:27:37
阅读次数:
294
说明:本文依然依赖于 contiki/platform/native/contiki-main.c 文件。-------------------------------------------------------------------------------------------------...
分类:
其他好文 时间:
2014-07-22 00:02:34
阅读次数:
337
PHP: echo Json_encode($result);Jquery:$.get( 'process.php', {'p1':'aa','p2':'dd', 'data_type':'json'}, function(data){ ...
分类:
Web程序 时间:
2014-07-21 23:31:01
阅读次数:
232
The Complete Diffie-Hellman Key Exchange Diagram The process begins when each side of the communication generates a private key. Each side then genera...
分类:
其他好文 时间:
2014-07-21 08:16:46
阅读次数:
287