LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LabVIEW calling Visual Studio dll - error - "Debug Assertion Failed"

Solved!
Go to solution

Dear Forums,

 

I have been making wrappers for c++ codes written Visual Studio 2008  for some time now. I have recently been working with a new c++ application.

 

However, this time, I am getting an expected error. Stranger, the code calling the dll has worked previously. With no edits, I closed LabVIEW for a few hours, opened it again - and this error message (see below) has appeared ever since. I have tried rebooting the computer, rewriting the subVI and checking the function prototype. 

 

Does anyone know what this debug assertion failed message is trying to indicate?

 

Capture.JPG 

 

This appears when I run the LabVIEW VI when it calls the Call Library Node. It does pass back and error boolean as designed in the c++ code.

 

Note: All other c++ wrappers and LabVIEW code works, just not this one.

 

Any advise would be very helpful indeed.

 

Regards,

James  

Kind Regards
James Hillman
Applications Engineer 2008 to 2009 National Instruments UK & Ireland
Loughborough University UK - 2006 to 2011
Remember Kudos those who help! 😉
0 Kudos
Message 1 of 4
(4,722 Views)

Hi All,

 

Regrettbly I am still having problems with this.

 

I am trying to write LabVIEW wrappers for ICE (by ZeroC) networking code written in c++.

 

I have a new error message as I retry to debug the application.

 

Capture.JPG 

 

Any other suggestions? 

 

Thanks, James  

Kind Regards
James Hillman
Applications Engineer 2008 to 2009 National Instruments UK & Ireland
Loughborough University UK - 2006 to 2011
Remember Kudos those who help! 😉
0 Kudos
Message 3 of 4
(4,669 Views)
Solution
Accepted by topic author Hillman

Hi All,

 

I have now resolved the issue I was having.

 

The dll needed to be in the same location as a dependence config file. 

 

Ta,

James  

Kind Regards
James Hillman
Applications Engineer 2008 to 2009 National Instruments UK & Ireland
Loughborough University UK - 2006 to 2011
Remember Kudos those who help! 😉
Message 4 of 4
(4,646 Views)