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. ikspropertset declaring variable ksps

ikspropertset declaring variable ksps

Scheduled Pinned Locked Moved C / C++ / MFC
helptutorial
5 Posts 3 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.
  • U Offline
    U Offline
    User 13229353
    wrote on last edited by
    #1

    Does anyone have example source code for VC6++ that will declare a ikspropertset variable and make a call to a device (like a camera) using this variable to change something on the interface. I have a camera running under a vendor's driver on VC6 and I want to change a parameter on the camera IC that is not normally accessible. They kindly supplied me with an unsupported low level call HRESULT SetRegisterValue( IKsPropertySet& ksps, uint16_t addr, uint16_t value ) I have added #include #include #include to the code but have trouble when trying to define the ksps structure. If I could read a short working example I think this could help.

    L 1 Reply Last reply
    0
    • U User 13229353

      Does anyone have example source code for VC6++ that will declare a ikspropertset variable and make a call to a device (like a camera) using this variable to change something on the interface. I have a camera running under a vendor's driver on VC6 and I want to change a parameter on the camera IC that is not normally accessible. They kindly supplied me with an unsupported low level call HRESULT SetRegisterValue( IKsPropertySet& ksps, uint16_t addr, uint16_t value ) I have added #include #include #include to the code but have trouble when trying to define the ksps structure. If I could read a short working example I think this could help.

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      See IKsPropertySet interface (Windows)[^].

      U 1 Reply Last reply
      0
      • L Lost User

        See IKsPropertySet interface (Windows)[^].

        U Offline
        U Offline
        User 13229353
        wrote on last edited by
        #3

        Thanks I saw that but could not find any sample code I could compile there

        L J 2 Replies Last reply
        0
        • U User 13229353

          Thanks I saw that but could not find any sample code I could compile there

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #4

          Maybe you need to write it.

          1 Reply Last reply
          0
          • U User 13229353

            Thanks I saw that but could not find any sample code I could compile there

            J Online
            J Online
            jeron1
            wrote on last edited by
            #5

            Maybe post the compilation errors that you are seeing along with the pertinent code.

            "the debugger doesn't tell me anything because this code compiles just fine" - random QA comment "Facebook is where you tell lies to your friends. Twitter is where you tell the truth to strangers." - chriselst "I don't drink any more... then again, I don't drink any less." - Mike Mullikins uncle

            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