简体   繁体   English

运行CLIREG32的正确语法?

[英]Proper syntax to run CLIREG32?

I'm trying to install a legacy VB6 client on a Windows 7 (64-bit) machine that can talk to a DCOM server written in Visual C++. 我正在尝试在Windows 7(64位)计算机上安装旧版VB6客户端,该客户端可以与用Visual C ++编写的DCOM服务器通信。 I know I need to run CLIREG32 and pass it the .VBR file as a parameter. 我知道我需要运行CLIREG32并将.VBR文件作为参数传递给它。 I'm trying it like this: 我正在这样尝试:

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

It seems to run without a hitch, but I think I should be able to search the registry and see the IP address i entered as a parameter. 它似乎运行顺利,但我认为我应该能够搜索注册表并查看我作为参数输入的IP地址。 So something tells me I'm missing something during this command. 所以有些事情告诉我在此命令期间我缺少了一些东西。 (I've also tried adding -t mytypelibrary.tlb but that doesn't help either) (我也尝试添加-t mytypelibrary.tlb但这也无济于事)

Any thoughts on using this ancient technology? 对使用这项古老技术有何想法? I'm not in a position to rebuild everything right now. 我现在无法重建所有内容。 I'm starting to get desperate... 我开始感到绝望...

Thanks 谢谢

There is at least limited information in Microsoft article Q155939. Microsoft文章Q155939中至少有有限的信息。

( Archived copy .) 存档副本 。)

Paraphrasing the useful parts: 解释有用的部分:

Q155939: HOWTO: Use Clireg32.exe for Remote Automation 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. 

Copyright Microsoft Corporation 1986-2002. 版权所有Microsoft Corporation 1986-2002。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM