运行CLIREG32的正确语法

Proper syntax to run CLIREG32?

本文关键字:语法 CLIREG32 运行      更新时间:2023-10-16

我正在尝试在Windows 7(64位)机器上安装一个传统的VB6客户端,它可以与用Visual c++编写的DCOM服务器通信。我知道我需要运行CLIREG32并将.VBR文件作为参数传递给它。我试着这样做:

clireg32 myvbrfilehere.vbr -s <ip address> -d -l

它似乎运行顺利,但我想我应该能够搜索注册表,看到我输入的IP地址作为一个参数。所以有些东西告诉我,我在这个命令中遗漏了一些东西。(我也试过添加-t mytypelibrary.tlb,但这也没有帮助)

对使用这种古老的技术有什么想法吗?我现在没办法重建一切。我开始绝望了…

谢谢

Microsoft文章Q155939中至少有有限的信息。

(存档副本。)

释义有用部分:

Q155939: HOWTO: Use Clireg32.exe for Remote Automation

Article: Q155939
Last Modified: 31-JUL-1999
-------------------------------------------------------------------------------
The information in this article applies to:
- Microsoft Visual FoxPro for Windows, versions 5.0, 6.0 
-------------------------------------------------------------------------------
SUMMARY
=======
This article provides an explanation of Clireg32.exe and how it is used for
remote automation.
MORE INFORMATION
================
The Clireg32.exe component allows you to register an OLE server (.exe) remotely.
It differs from the Remote Automation Connection Manager (RacMan) in that the
server does not need to be located on the machine registering it. The Setup
Wizard handles the maintenance of registering remote servers for you.
NOTE: Remote servers and Clireg files are stored in the WindowsOlesrv
directory, which is similar to Visual Basic if it is installed via the Setup
Wizard.
The Clireg32.exe program takes a number of parameters. The only required one is
the name of the .vbr file (generated with the server during build):
  Clireg32 myexesvr.vbr
In order to fully register a remote server, you must provide the network name,
network protocol, and security access. Clireg32 prompts you with a dialog box if
these options are not passed. For a list of all the parameters, simply execute
Clireg32.exe by itself.

微软公司1986-2002版权所有