Results 1 to 2 of 2

Thread: Bug in C# VCD Property Page sample program

  1. #1
    Join Date
    Aug 2014
    Posts
    25

    Bug in C# VCD Property Page sample program

    It doesn't display all the properties because an exception occurs at line 235 in VCDPropertiesDlg.cs : cbo.AssignItf(itf).

    It fails on the second category "Device" in IC.VCDPropertyItems.CategoryMap.Categories (see line 56).

    If I put in code to ignore "Device" category, it shows all of them.

    if (Cat == "Device")
    continue;

    "Device" isn't a category in the "Show Original". Maybe it's supposed to be used for creating a custom "Select Device"?


    Camera is DFK AFU130-L53
    Visual Studio 2017 C#

    Regards,
    Greg

  2. #2
    Join Date
    Jul 2010
    Location
    Bremen, Germany
    Posts
    107

    Re: Bug in C# VCD Property Page sample program

    Dear Greg,

    this is a very localized issue that should not occur with any other camera.
    The error is caused by a false readout of a single property of the camera.
    This has to be fixed either in the SDK itself or in the driver.

    I have passed this on to the corresponding developers.

    Your workaround should be fine for the moment.
    Best regards
    Michael

Similar Threads

  1. calling “One Push” option for VCDID_Focus property from program
    By kiran naik in forum IC Imaging Control C++ Class Library
    Replies: 1
    Last Post: November 17, 2015, 09:34:06
  2. Replies: 9
    Last Post: August 22, 2014, 07:45:34
  3. How to programmatically use/implement "Focus", without the property(GUI) Page
    By Beng in forum IC Imaging Control C++ Class Library
    Replies: 1
    Last Post: April 28, 2010, 09:55:44
  4. properties-page
    By ryne in forum MontiVision Development Kit
    Replies: 4
    Last Post: July 29, 2004, 17:42:34
  5. Link Error (declspec) in sample program on the web...
    By Unregistered in forum IC Imaging Control ActiveX
    Replies: 3
    Last Post: August 15, 2002, 10:00:04

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •