RegisterTypeLibForUser偶尔不会在VNC机器中注册tlb [英] RegisterTypeLibForUser is sporadically not registering the tlb in VNC machine

查看:72
本文介绍了RegisterTypeLibForUser偶尔不会在VNC机器中注册tlb的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

RegisterTypeLibForUser 未在VNC机器中持续注册tlb,因此 CocreateInstance 有时会失败。

请告诉我如何使用tlb注册调用基于COM的exe方法。



工作流程:

1 。创建了COM exe的过程

2.加载了类型库

3.使用 RegisterTypeLibForUser 进行注册。 />
4.有时无法我的 COM exe的CoCreateInstance

RegisterTypeLibForUser is not registering the tlb in VNC machine consistently hence CocreateInstance sometimes fails.
Please let me know how to call COM based exe methods using tlb registration.

Workflow:
1. Created the process of COM exe
2. Loaded the typelib
3. Used RegisterTypeLibForUser for registration.
4. Sometimes unable to CoCreateInstance of my COM exe.

推荐答案

这篇关于RegisterTypeLibForUser偶尔不会在VNC机器中注册tlb的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆