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

自己编写一个ActiveX,在工程中利用Duilib调用这个ActiveX,结果不成功,杂回事 #97

Open
GoogleCodeExporter opened this issue Mar 17, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. 我的开发环境是VS2010
2. 我在app.cpp的前面加上#import "PROGID:MyAx.MYAX.1" raw_interfaces_only
3. 用uiDesigner.exe编写了一个ui.xml
类似
<window>
  <ActiveX clsid="..." />
</window>

编译程序,结果报错
跟踪一下 DuiLib::CActiveXUI
  hr=m_pUnk->DoVerb(OLEIVERB_INPLACEACTIVATE,NULL,pOleClientSite,0,m_pManager->GetParentWindow(),&m_rcItem);
咋回事呀?



What is the expected output? What do you see instead?


What version of the product are you using? On what operating system?


Please provide any additional information below.



Original issue reported on code.google.com by [email protected] on 10 Jan 2014 at 1:37

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

No branches or pull requests

1 participant