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. Returning byte array from ActiveX

Returning byte array from ActiveX

Scheduled Pinned Locked Moved C / C++ / MFC
comjavascriptdata-structurestestingtools
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.
  • V Offline
    V Offline
    Vadim Tabakman
    wrote on last edited by
    #1

    Hi All, I'm writing an ActiveX control, and one of the methods needs to return an array of bytes. This array then needs to be used in Javascript and posted via the MSXML2.XMLHTTP (send). I've create a method in my ActiveX class that returns a VARIANT, but what ever way I try to create the VARIANT, this fails. Either I get "type mismatch" when I try to use the data returns, or I get a "Variable uses an Automation type not supported in JScript". Does anyone know some easy way to return a byte array and use in javascript? Cheers, Jub

    "If you're too careful, your whole life can become a f---in' grind." - Mike McD (Rounders)

    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