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. COM
  4. Safe for scripting/initialization

Safe for scripting/initialization

Scheduled Pinned Locked Moved COM
questioncomgraphicsgame-devsysadmin
3 Posts 2 Posters 13 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.
  • L Offline
    L Offline
    Luis Teixeira
    wrote on last edited by
    #1

    Hi Everybody! I have developed an activeX control that instantiates a "in proc server" which accesses the sound card using DirectX. Neither the control nor the data component (collected from the sound card) write to any files in the user HD. I intend to deploy this control on the internet, so my question is: Can i mark this control and the component as safe for scripting/Initialization? On which conditions can i mark a control with these categories? Thanks in advance, Luís Teixeira

    A 1 Reply Last reply
    0
    • L Luis Teixeira

      Hi Everybody! I have developed an activeX control that instantiates a "in proc server" which accesses the sound card using DirectX. Neither the control nor the data component (collected from the sound card) write to any files in the user HD. I intend to deploy this control on the internet, so my question is: Can i mark this control and the component as safe for scripting/Initialization? On which conditions can i mark a control with these categories? Thanks in advance, Luís Teixeira

      A Offline
      A Offline
      Alex Gorev
      wrote on last edited by
      #2

      Hi, A safe control must not perform disk IO or access the memory or registers of a machine directly. As I know DirectX is using direct memory access. But it's up to you to make a final decision... Regards, Alex Gorev, Dundas Software.

      L 1 Reply Last reply
      0
      • A Alex Gorev

        Hi, A safe control must not perform disk IO or access the memory or registers of a machine directly. As I know DirectX is using direct memory access. But it's up to you to make a final decision... Regards, Alex Gorev, Dundas Software.

        L Offline
        L Offline
        Luis Teixeira
        wrote on last edited by
        #3

        So you're saying that you wouldn't mark the control as safe if it is using DirectX. But this control needs to access the sound card for data. I guess that using the multimedia functions of the WIN32 API has the same problem than DirectX, which leaves me no chance to make it a safe control. Thanks so much, Alex! Luís Teixeira

        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