Actual combat COM (04) ---- Create a DCOM application

zhaozj2021-02-08  288

This article is welcome to reprint, please specify the source and the author blackcolor@263.net -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -----------------

Create a DCOM app

The processes we created by the above section are examples, and this process is installed on Windows 2000 and then calls it from Win98. For Windows 20001) Creating a directory STEP022 in Win2000) Copying client.exe and step02.exe Copy to Step02 Directory 3) Run Step02.exe / Regserver Register Server 4) Running client.exe Checking Success, Shi: The OS IS Winnt tips. For Windows 985) Creating a directory STEP026 in WIN98) Copying client.exe and step02.exe to step02 directory 7) Run Step02.exe / regserver Register Server 8) Running client.exe Check if it is successful, should appear: The OS IS Win95 / 98 Tip. 9) Run DCMCNFG.EXE10) Looking for "Step02" in the list of the Applications tab of the window, click "Properties ..." button 11) "Location" tab of the "Step02 Properties" window, only "Run Application on the Following Computer: ", cancel the" Run Application On this Computer ", fill in the Windows 2000 machine name or IP address in the editing control, click the" OK "button, then click" OK "button, 12) Run Client.exe This time you will find the results of the run: The OS is WinNT.

Description: I didn't modify any other properties that did not mention in the above settings; in Windows 2000, log in with Administrator.

转载请注明原文地址:https://www.9cbs.com/read-1964.html

New Post(0)