1

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

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

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

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

谢谢

4

1 回答 1

0

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

存档副本。)

解释有用的部分:

Q155939:如何:使用 Clireg32.exe 进行远程自动化

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 \Windows\Olesrv\
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.

版权所有 Microsoft Corporation 1986-2002。

于 2019-02-27T20:50:25.663 回答