# Problem with loading driver

**URL:** https://forum.commonvisionblox.com/t/problem-with-loading-driver/1402
**Category:** .Net API
**Tags:** csharp
**Created:** [April 30, 2021, 9:16am UTC](https://forum.commonvisionblox.com/t/problem-with-loading-driver/1402 "2021-04-30T09:16:10Z")
**Posts on this page:** 12
**Page:** 1

<div class="post-metadata">

### Author: ![Road](https://avatars.discourse-cdn.com/v4/letter/r/43a26b/32.png) [@Road](https://forum.commonvisionblox.com/u/Road)
#### Post date: [April 30, 2021, 9:16am UTC](https://forum.commonvisionblox.com/t/problem-with-loading-driver/1402/1 "2021-04-30T09:16:10Z")

</div>

Hello there,  
help, I have a problem with loading the driver. My code is same as the code here **\<Display a Stream(Windows Forms)\>** in the tutorial [https://forum.commonvisionblox.com/t/getting-started-with-cvb-net/246/7](https://forum.commonvisionblox.com/t/getting-started-with-cvb-net/246/7).  
When I load the GenIGem.vin, it appears the window telling me _error loading device_. But when I try to load the _.avi_, it goes well. I can’t figure out what’s wrong with the driver 😅

---

<div class="post-metadata">

### Author: ![Road](https://avatars.discourse-cdn.com/v4/letter/r/43a26b/32.png) [@Road](https://forum.commonvisionblox.com/u/Road)
#### Post date: [April 30, 2021, 9:17am UTC](https://forum.commonvisionblox.com/t/problem-with-loading-driver/1402/2 "2021-04-30T09:17:58Z")

</div>

This is the screen:

 ![vindriver](https://canada1.discourse-cdn.com/flex027/uploads/commonvisionblox/original/1X/7e9acd73357c4f38e6f6161855779b75504911f2.png)

---

<div class="post-metadata">

### Author: ![Chris](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.commonvisionblox.com/chris/32/1154_2.png) [@Chris](https://forum.commonvisionblox.com/u/Chris)
#### Post date: [April 30, 2021, 9:36am UTC](https://forum.commonvisionblox.com/t/problem-with-loading-driver/1402/3 "2021-04-30T09:36:02Z")

</div>

Hi @Road  
do you have any other CVB application running, that might possibly block the driver?

---

<div class="post-metadata">

### Author: ![Road](https://avatars.discourse-cdn.com/v4/letter/r/43a26b/32.png) [@Road](https://forum.commonvisionblox.com/u/Road)
#### Post date: [April 30, 2021, 9:43am UTC](https://forum.commonvisionblox.com/t/problem-with-loading-driver/1402/4 "2021-04-30T09:43:19Z")

</div>

Not really, I’ve closed all the CVB application, its still unsolved.

---

<div class="post-metadata">

### Author: ![Chris](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.commonvisionblox.com/chris/32/1154_2.png) [@Chris](https://forum.commonvisionblox.com/u/Chris)
#### Post date: [April 30, 2021, 9:48am UTC](https://forum.commonvisionblox.com/t/problem-with-loading-driver/1402/5 "2021-04-30T09:48:40Z")

</div>

64bit OS, 64bit CVB and Prefer 32bit disabled in the solution preferences?

---

<div class="post-metadata">

### Author: ![Road](https://avatars.discourse-cdn.com/v4/letter/r/43a26b/32.png) [@Road](https://forum.commonvisionblox.com/u/Road)
#### Post date: [April 30, 2021, 9:55am UTC](https://forum.commonvisionblox.com/t/problem-with-loading-driver/1402/6 "2021-04-30T09:55:15Z")

</div>

Yes, I’ve already done according to the tutorial. 🤔

---

<div class="post-metadata">

### Author: ![Chris](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.commonvisionblox.com/chris/32/1154_2.png) [@Chris](https://forum.commonvisionblox.com/u/Chris)
#### Post date: [April 30, 2021, 10:07am UTC](https://forum.commonvisionblox.com/t/problem-with-loading-driver/1402/7 "2021-04-30T10:07:30Z")

</div>

Im still a bit puzzled by the warning you get in your output window of VS. This indicates a missmatch of the architectures as well. Are you sure, that you have never had a 32bit CVB on your machine and that you are using the correct dlls?

---

<div class="post-metadata">

### Author: ![Road](https://avatars.discourse-cdn.com/v4/letter/r/43a26b/32.png) [@Road](https://forum.commonvisionblox.com/u/Road)
#### Post date: [April 30, 2021, 10:15am UTC](https://forum.commonvisionblox.com/t/problem-with-loading-driver/1402/8 "2021-04-30T10:15:06Z")

</div>

Yes, I have never had a 32bit CVB, earlier had I an old version of CVB, but it was still 64bit CVB. I checked, the dlls are correct.  
The warning is also confusing me, I am not sure if its related to the problem.

---

<div class="post-metadata">

### Author: ![Chris](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.commonvisionblox.com/chris/32/1154_2.png) [@Chris](https://forum.commonvisionblox.com/u/Chris)
#### Post date: [April 30, 2021, 10:19am UTC](https://forum.commonvisionblox.com/t/problem-with-loading-driver/1402/9 "2021-04-30T10:19:12Z")

</div>

Can you load the .vin in the CVBViewer?

The warning seems not to be a problem:  
[https://stackoverflow.com/questions/10113532/how-do-i-fix-the-visual-studio-compile-error-mismatch-between-processor-archit](https://stackoverflow.com/questions/10113532/how-do-i-fix-the-visual-studio-compile-error-mismatch-between-processor-archit)

---

<div class="post-metadata">

### Author: ![Road](https://avatars.discourse-cdn.com/v4/letter/r/43a26b/32.png) [@Road](https://forum.commonvisionblox.com/u/Road)
#### Post date: [April 30, 2021, 10:35am UTC](https://forum.commonvisionblox.com/t/problem-with-loading-driver/1402/10 "2021-04-30T10:35:03Z")

</div>

I just tried, in the CVBViewer also unable to load the .vin.

---

<div class="post-metadata">

### Author: ![Chris](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.commonvisionblox.com/chris/32/1154_2.png) [@Chris](https://forum.commonvisionblox.com/u/Chris)
#### Post date: [April 30, 2021, 10:40am UTC](https://forum.commonvisionblox.com/t/problem-with-loading-driver/1402/11 "2021-04-30T10:40:22Z")

</div>

When you open up the CVB ManagementConsole, do you see a configured camera there indicated by a green camera icon? If so, can you grab images from it?

[https://help.commonvisionblox.com/NextGen/14.0/md\_theory\_of\_operation\_hardware\_\_configurator.html](https://help.commonvisionblox.com/NextGen/14.0/md_theory_of_operation_hardware__configurator.html)

---

<div class="post-metadata">

### Author: ![Road](https://avatars.discourse-cdn.com/v4/letter/r/43a26b/32.png) [@Road](https://forum.commonvisionblox.com/u/Road)
#### Post date: [April 30, 2021, 11:29am UTC](https://forum.commonvisionblox.com/t/problem-with-loading-driver/1402/12 "2021-04-30T11:29:32Z")

</div>

Hi, when I opened, I saw a red camera icon. So I reconfigured it, then it changed into green. After that I closed the CVB ManagementConsole, and now I can open the .vin driver.  
Maybe its because I usually use GenICamBrowser, even though I close this application, in the CVB ManagementConsole the camera is still red showing _Device is already open in another application_  
Thank you so much for ur help! 😉
