ikspropertset declaring variable ksps
-
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.
-
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.
-
Thanks I saw that but could not find any sample code I could compile there
-
Thanks I saw that but could not find any sample code I could compile there
-
Thanks I saw that but could not find any sample code I could compile there
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