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#
  4. SHCameraCapture

SHCameraCapture

Scheduled Pinned Locked Moved C#
csharpc++jsontutorialquestion
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.
  • C Offline
    C Offline
    Craigjw
    wrote on last edited by
    #1

    I am trying to develop a custom camera control, to use in my application. I access the camera with the SHCameraCapture api, however, this seems to give access to other functions within this dialog that I don't want the potential user to have access to, for example, changing the image resolution, saving the image to a location and sending via an SMS etc. What I am after is a way to lock out all the other stuff that the camera api has, so that all the user can do is have access to 3 buttons, 'take picture', 'cancel' & 'ok'. How do I do this please, I have scoured the internet and all I can find is that there maybe a possibility to do it by having a C++ library using DirectShow within my C# application, which is most undesirable.

    M 1 Reply Last reply
    0
    • C Craigjw

      I am trying to develop a custom camera control, to use in my application. I access the camera with the SHCameraCapture api, however, this seems to give access to other functions within this dialog that I don't want the potential user to have access to, for example, changing the image resolution, saving the image to a location and sending via an SMS etc. What I am after is a way to lock out all the other stuff that the camera api has, so that all the user can do is have access to 3 buttons, 'take picture', 'cancel' & 'ok'. How do I do this please, I have scoured the internet and all I can find is that there maybe a possibility to do it by having a C++ library using DirectShow within my C# application, which is most undesirable.

      M Offline
      M Offline
      musefan
      wrote on last edited by
      #2

      I take it the SHCamreaCapture API is not open source so you cant edit the source code yourself. this [^]may help, there is some example code if you read down a bit

      Life goes very fast. Tomorrow, today is already yesterday.

      C 1 Reply Last reply
      0
      • M musefan

        I take it the SHCamreaCapture API is not open source so you cant edit the source code yourself. this [^]may help, there is some example code if you read down a bit

        Life goes very fast. Tomorrow, today is already yesterday.

        C Offline
        C Offline
        Craigjw
        wrote on last edited by
        #3

        I am capturing an image from a Windows Mobile device with a camera on the back. I'm not sure how closely this is to capturing a webcam stream, not entirely sure about this. SHCameraCapture is native code, which I haven't yet found a way to edit it's code. It is derived from the Aygshell.dll library. Can the code on that thread be modified to make use of an in built camera on a mobile device, or is there anyway to 're-write' the SHCameraCapture code?

        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