Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. Acessing ActiveX Component / Library not registered

Acessing ActiveX Component / Library not registered

Scheduled Pinned Locked Moved Web Development
comhelpcsharpc++html
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • F Offline
    F Offline
    Florian Storck
    wrote on last edited by
    #1

    Hi there, I've some problems accessing my ActiveX control from a VBScript/JScript. The control can be successfully initialized an acessed via the tag. The problem is, that I've to retrieve additional objects/interfaces from the control, which are all defined in the typelib embedded in the control. This likes somehow like this: var ObjInst = new Object; // returns another IDispatch interface of an internal object ObjInst = Control.GetInstance(); // creates a "Library not registered" error ObjInst.Method(); Because everythings working fine from CPP/VB when compiling, I would like to know, whether I have to register the typelib somehow in the html code or somewhere else, or whatever may cause this error. I can view the typelib in the OLE viewer supplied with visual studio, so the registration can't be that faulty in my opinion. My thaughts were, that acessing a reference to a IDispatch interface should be generally no problem in JScript/VBScript. Thanks for any suggestions. Florian

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups