c++ - How to ensure method in ActiveX class gets into DLL (Checking by ITypeLib) -


in visual studio 2013, how ensure methods added in activex accessible in javascript , can viewed in olleview's itypelib

i have method not show in itypelib in olleview there methods showing:

public:     stdmethod(sendtorest)(bstr resource, bstr operation, bstr data); // not showing     stdmethod(writebuf)(/*[in]*/ bstr a); // showing 

i've been doing regsvr32 registration of dll still method not showing up.

  • what can use trace why method not showing up?
  • is because method not in dll or registry not updated?
  • should manually add project's idl file? (because cannot see there)

you need add methods in question interface in idl. interfaces should either in library block there, or referenced library block. necessary these idl definitions compiled type library. make sure type library registered.

c++ code reference derivative of idl , classes override abstract virtual methods defined in idl interfaces. how c++ code connected type library definitions.


Comments

Popular posts from this blog

How has firefox/gecko HTML+CSS rendering changed in version 38? -

javascript - Complex json ng-repeat -

jquery - Cloning of rows and columns from the old table into the new with colSpan and rowSpan -