Skip to content

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

@GoogleCodeExporter

Description

@GoogleCodeExporter
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 hyora...@126.com on 10 Jan 2014 at 1:37

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions