Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

老哥求助,关于com组件 #1

Open
LeventureQys opened this issue Dec 8, 2022 · 2 comments
Open

老哥求助,关于com组件 #1

LeventureQys opened this issue Dec 8, 2022 · 2 comments

Comments

@LeventureQys
Copy link

我看到你这个是关于qt调用com组件的,我有个问题想请教一下,不知道能不能得到解答TAT
事情是这样的,我们这个工具的框架希望能在不同的进程之间双向交流,我们现在想用COM组件来实现这个功能,问题出在这个signal上,com组件的signal信号不知道为什么不能发送给调用方。
就是现在我有两个进程,一个是调用方,通过QAxObject或者QAxWidget调用COM组件,一个是COM组件,调用方调用COM组件的方法都是正常的,但是如果是COM组件主动发送信号signal则不能发送信号给调用方,但是另一个方向来说,如果是调用方调用了COM组件中的函数,这个函数中含有signal,则会把这个signal发送给调用方,这个问题该怎么解决,还请大佬简单聊聊

@LeventureQys
Copy link
Author

我已经解决了

@oneflyingfish
Copy link
Owner

不好意思,刚看到邮件,祝你好运!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants