LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LV Crash Appempting to Open Private Assembly

Hi,
I'm trying to use Visual Studio 2005 to build a .NET Object for LV8.0 to interface with third party hardware using their driver software (yeah, it's stupid complicated).  I can build the assembly and use it just fine, provided I don't include any of the driver headers.  Whenever the headers are included, the assembly doesn't load properly, and causes LV to crash with the following error:
 
LabVIEW: LabVIEW.exe - Application Error
The instruction at "0x00b24eec" referenced memory at "0x00000000".  The Memory could not be "read".
 
This happens simply by including the header, without creating any instances of the classes in the header.  It looks like LV gets lost somewhere.  Do I have to include the relevant dll's in the Project, somehow?
0 Kudos
Message 1 of 2
(2,201 Views)

Hi MSeiter,

 

Are you able to call the assembly from Visual Studio?

 

I’m assuming that you are programming in C++.  You will need to have the DLLs in the same directory as your assembly. 

 

Regards,

Elizabeth S.

Applications Engineer

National Instruments

0 Kudos
Message 2 of 2
(2,185 Views)