如何在ATL中使用CreateRemoteThread [英] How to use CreateRemoteThread in ATL
问题描述
大家好,
当我使用shellexecute函数在默认浏览器中打开一个反馈表单时,它工作正常,但是当我们从添加已删除程序中卸载应用程序时出现了问题.挂起添加已删除程序"窗口,直到关闭反馈表单为止,因为添加已删除程序会等待由任何应用程序正确打开的所有线程打开.
通过网络搜索,我们知道使用CreateRemoteThread可以解决此问题.
现在,请帮助我如何在ATL中使用CreateRemotethead.
我们非常期待您的建议/链接/参考.
非常感谢.
问候,
Narayan
Hi All,
As I am using shellexecute function to open one feedback form in the default browser and it work fine but the issue, when we un-install our application from add removed program. "add removed program" windows hanged until feedback form is closed because add removed program wait for all thread opened by any application closed properly.
By web searching, we come to know that use CreateRemoteThread to fixed this issue.
Now please help me how to use CreateRemotethead in ATL.
Your suggestion/link/reference is keenly awaited.
Thank you a very much.
With regards,
Narayan
推荐答案
请参阅 ^ ].
这篇关于如何在ATL中使用CreateRemoteThread的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!