Freclien , a multithreaded client freserve , a free - threaded in - process server Freclien (一個(gè)多線程客戶端)
It tests the functionality provided by inproc , an automation in - process server 該示例測(cè)試由inproc (自動(dòng)化進(jìn)程內(nèi)服務(wù)器)提供的功能。
Dynamic - link library specifies that your server is a dll and therefore an in - process server 動(dòng)態(tài)鏈接庫指定服務(wù)器是dll并且因此是進(jìn)程內(nèi)服務(wù)器。
If nonzero , sql server allows for the provider to be instantiated as an in - process server 如果非零,則sql server允許將訪問接口實(shí)例化為進(jìn)程內(nèi)服務(wù)器。
An in - process server , however , loads as a dll in the client s address space and does not require an rpc 而進(jìn)程內(nèi)服務(wù)器作為客戶端的地址空間中的dll加載并且不要求rpc 。
Finally , the sample implements a few dummy properties , which are used simply to compare the performance of in - process servers and localserver servers 最后,該示例實(shí)現(xiàn)幾個(gè)啞元屬性,這些屬性只用于比較進(jìn)程內(nèi)服務(wù)器和localserver服務(wù)器的性能。
In - process servers are usually more efficient than servers implemented as separate exes because a remote procedure call is not necessary to invoke methods on the objects implemented by the server 進(jìn)程內(nèi)服務(wù)器通常比作為單獨(dú)的exe實(shí)現(xiàn)的服務(wù)器更有效,因?yàn)椴辉傩枰h(yuǎn)程過程調(diào)用( rpc )來調(diào)用服務(wù)器實(shí)現(xiàn)的對(duì)象上的方法了。