Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

cwimaq active x contol on windows 7 x64

Solved!
Go to solution

I am trying to use some C# software that was written to use the axQWIMAQ activex control to capture cameralink on windows 7 x64.  This software was orignally designed for XP.  When i try to do this, I get a COM exception at initialization saying that the control is not registerd.  When i try to regsvr32 the dll that i reference in my C#, I get an error about no entry point.  Any Thoughts?  Thanks

0 Kudos
Message 1 of 3
(3,702 Views)
Solution
Accepted by topic author derraa

CWIMAQ is a legacy component that has been replaced by a native .NET assembly that you should be using today.

 

However, I suspect your issue is that your .NET code is running in 64-bit mode (by default it is compiled as AnyCPU). Since the ActiveX component you are using (and the current .NET assemblies) are all built as 32-bit-only, it cannot load them if the app is running as 64-bit. You should change the compiler option to build as x86 instead of AnyCPU and it should fix it.

 

Eric

0 Kudos
Message 2 of 3
(3,696 Views)

Thank you much, that did it.

0 Kudos
Message 3 of 3
(3,680 Views)