# DeviceDiscovery.Discover: SEHException

**URL:** <https://forum.commonvisionblox.com/t/devicediscovery-discover-sehexception/264>\
**Category:** C-style API\
**Tags:** discovery, genicam\
**Created:** [November 10, 2017, 9:34am UTC](https://forum.commonvisionblox.com/t/devicediscovery-discover-sehexception/264 "2017-11-10T09:34:34Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tomes](https://avatars.discourse-cdn.com/v4/letter/t/c4cdca/32.png) [@Tomes](https://forum.commonvisionblox.com/u/Tomes)\
**Post date:** [November 10, 2017, 9:34am UTC](https://forum.commonvisionblox.com/t/devicediscovery-discover-sehexception/264/1 "2017-11-10T09:34:34Z")

</div>

Hi,

When trying to run the device discovery while an image is loaded, I get the following exception:

{System.Runtime.InteropServices.SEHException (0x80004005): External component has thrown an exception.  
at Stemmer.Cvb.DriverLib.DODiscover(String seed, Int64 flags, Int64 reserved, IntPtr& list, IntPtr timeout)  
at Cvb.Driver.DeviceDiscovery.Discover(String seed, Flags flags, Int64 reserved, Int32 timeoutMs, ATLIST& list)  
at Cvb.Driver.DeviceDiscovery.Discover(Flags flags, ATLIST& list)…

The used flags are: IgnoreVins | UpToLevelInterface.

In the end, I’d like to able to run the discovery without taking into account whether there are images already loaded or not.  
Can this be done?

---

<div class="post-metadata">

**Author:** ![Sebastian](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.commonvisionblox.com/sebastian/32/1267_2.png) [@Sebastian](https://forum.commonvisionblox.com/u/Sebastian)\
**Post date:** [November 13, 2017, 12:08pm UTC](https://forum.commonvisionblox.com/t/devicediscovery-discover-sehexception/264/2 "2017-11-13T12:08:31Z")

</div>

Hi Tomes,

The exception you get need to be fixed by us.  
Then you will be able to make discover even if the camera is in use.

---

<div class="post-metadata">

**Author:** ![Tomes](https://avatars.discourse-cdn.com/v4/letter/t/c4cdca/32.png) [@Tomes](https://forum.commonvisionblox.com/u/Tomes)\
**Post date:** [November 24, 2017, 9:30am UTC](https://forum.commonvisionblox.com/t/devicediscovery-discover-sehexception/264/3 "2017-11-24T09:30:21Z")

</div>

Hi Sebastian,

Could you let me know when this is fixed?

---

<div class="post-metadata">

**Author:** ![Sebastian](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.commonvisionblox.com/sebastian/32/1267_2.png) [@Sebastian](https://forum.commonvisionblox.com/u/Sebastian)\
**Post date:** [November 28, 2017, 4:26pm UTC](https://forum.commonvisionblox.com/t/devicediscovery-discover-sehexception/264/4 "2017-11-28T16:26:36Z")

</div>

Hi Tomes,

We plan to release the fix within one week with the Bugfix Release CVB 13.00.005

---

<div class="post-metadata">

**Author:** ![illusive](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.commonvisionblox.com/illusive/32/61_2.png) [@illusive](https://forum.commonvisionblox.com/u/illusive)\
**Post date:** [November 30, 2017, 3:52pm UTC](https://forum.commonvisionblox.com/t/devicediscovery-discover-sehexception/264/5 "2017-11-30T15:52:34Z")

</div>

Hi everyone! 13.00.005 is now available for download in the #downloads category. Thanks a lot for your patience!

---

<div class="post-metadata">

**Author:** ![Tomes](https://avatars.discourse-cdn.com/v4/letter/t/c4cdca/32.png) [@Tomes](https://forum.commonvisionblox.com/u/Tomes)\
**Post date:** [December 1, 2017, 8:59am UTC](https://forum.commonvisionblox.com/t/devicediscovery-discover-sehexception/264/6 "2017-12-01T08:59:53Z")

</div>

Just tested it: everything works fine. Thanks!
