gpt4 book ai didi

c++ - 运行 CLIREG32 的正确语法?

转载 作者:太空宇宙 更新时间:2023-11-04 13:49:48 24 4
gpt4 key购买 nike

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

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

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

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

谢谢

最佳答案

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

( Archived copy .)

解释有用的部分:

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

Copyright Microsoft Corporation 1986-2002.

关于c++ - 运行 CLIREG32 的正确语法?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23897440/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com