LabVIEW MathScript RT Module

cancel
Showing results for 
Search instead for 
Did you mean: 

Fatal Internal Error: "LinkObj.cpp", line 714 LabVIEW version 8.5 You will lose any unsaved work.

Greetings to the community! We are experiencing the following problem: A LabVIEW 8.5 .dll is built out of three simple test functions which add two numbers. The dll is called from a Visual Basic 6 program running in Visual Studio. The first LV function returns the sum of two I32 values. The second LV function returns the sum of two DOUBLE values. The Third LV function uses a Mathscript node to perform the same summing of inputs, returning the sum of two I32 values. A dll is built with the Application Builder and moved to the \windows\system32 folder. Next: I single step through the simple program below, in Visual Studio. If I stop the execution at any point before the mathscript function Mathscriptsummer is called, no problem. If I stop execution after that, the "Fatal Internal Error: "LinkObj.cpp", line 714 LabVIEW version 8.5 You will lose any unsaved work." message appears. Clicking "OK" shuts Visual Studio down instantly. This was just a test of the interface. I believe this will impact project development, and I am leery of moving forward along this path, as I was hoping to reuse a great deal of mathscript code in several locations throughout the program. Is there something I'm forgetting here in the code? In the App Builder settings? Any advice from the sages? Doesn't this appear to be a compiler/linker bug in 8.5? Thanks (& please wish the Colorado Rockies well!) Ted '________________________________________ ' Begin visual basic 6 program: '________________________________________ Private Declare Function Summer Lib "summerlib" (ByVal a As Long, ByVal b As Long) As Long Private Declare Function Doublesummer Lib "summerlib" (ByVal x As Double, ByVal y As Double) As Double Private Declare Function Mathscriptsummer Lib "summerlib" (ByVal a As Long, ByVal b As Long) As Long Sub Form_Load() Dim x, y, fx As Double Dim a, b, sum As Long a = 1# b = 2# x = 1.2345 y = 2.3456 fx = 1 sum = Summer(a, b) sum = Mathscriptsummer(a, b) fx = Doublesummer(x, y) End Sub
0 Kudos
Message 1 of 1
(6,374 Views)