摘要: 一、Process.Start()调用了Win32的CreateProcess()函数,并且参数bInheritHandles设置为了true,这就导致了子进程继承了父进程的Handle。 二、由于上述原因导致的问题 如果父进程用Process.Start()启动了子进程,并使用ChannelServices.RegisterChannel(channel);注册了channel... 阅读全文
posted @ 2008-09-09 14:43 h2appy 阅读(886) 评论(0) 推荐(0)
摘要: http://www.pinvoke.net/ 阅读全文
posted @ 2008-09-09 13:40 h2appy 阅读(197) 评论(0) 推荐(0)