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. General Programming
  3. C / C++ / MFC
  4. The ActiveX Control embeded in Web

The ActiveX Control embeded in Web

Scheduled Pinned Locked Moved C / C++ / MFC
comdockerquestionlearning
3 Posts 2 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.
  • E Offline
    E Offline
    eraccn
    wrote on last edited by
    #1

    The Control has been testified by "ActiveX Test Container" which runs very well,then I use Microsoft ActiveX Control Pad to plug in this control. IE code like this: USBClientActiveXEx //inf like this [Add.Code] yyy.ocx=yyy.ocx yyy.inf=yyy.inf [yyy.ocx] file=thiscab clsid={622FA9EC-C889-4138-A2D2-A6CCB092C914} RegisterServer=yes FileVersion=1,0,0,1 [yyy.inf] file=thiscab of course,the cab file includes yyy.ocx and yyy.inf files.But when I place the page in Apachy,remote user can't register the control,what's the matter?

    Later buggers harm more.

    L 1 Reply Last reply
    0
    • E eraccn

      The Control has been testified by "ActiveX Test Container" which runs very well,then I use Microsoft ActiveX Control Pad to plug in this control. IE code like this: USBClientActiveXEx //inf like this [Add.Code] yyy.ocx=yyy.ocx yyy.inf=yyy.inf [yyy.ocx] file=thiscab clsid={622FA9EC-C889-4138-A2D2-A6CCB092C914} RegisterServer=yes FileVersion=1,0,0,1 [yyy.inf] file=thiscab of course,the cab file includes yyy.ocx and yyy.inf files.But when I place the page in Apachy,remote user can't register the control,what's the matter?

      Later buggers harm more.

      L Offline
      L Offline
      LoveCPlusplus
      wrote on last edited by
      #2

      Your codes look OK. I think you need check the following things: (1) File Dependencies - MFC is shared link or static link - Any new versions of libraries required - Require thirty-party libraries (2) Make sure the class ID "622FA9EC-C889-4138-A2D2-A6CCB092C914" is correct UUID for your control. (3) Your OCX module is signed? marked as scripting safe? (4) Web browser setting of the remote user is adjusted to load OCX? From my experiences, most of time such case is due to (1).

      E 1 Reply Last reply
      0
      • L LoveCPlusplus

        Your codes look OK. I think you need check the following things: (1) File Dependencies - MFC is shared link or static link - Any new versions of libraries required - Require thirty-party libraries (2) Make sure the class ID "622FA9EC-C889-4138-A2D2-A6CCB092C914" is correct UUID for your control. (3) Your OCX module is signed? marked as scripting safe? (4) Web browser setting of the remote user is adjusted to load OCX? From my experiences, most of time such case is due to (1).

        E Offline
        E Offline
        eraccn
        wrote on last edited by
        #3

        (1) -MFC is static link -No -No (2)Yes,it is. (3)No signed but marked as scripting safe. (4)allow all active control access.

        Later buggers harm more.

        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