When configuring the .dll for the first time in LabView I'm able to save
that configuration and execute the VI. I'm executing the function
PxLInitialize (one of my .dll function), and I'm getting at the output the error code 0x80000001 which
is the error code corresponding to Unknown error (error from the .dll). When re-configuring the
.dll in LabView I see the exported functions from the .dll in the
configuration panel as before in the "Call Library Function Node" but when I
click "OK" on the configuration panel it's telling me that "The function
node specified for this node cannot be found in the library." ----- This
error is generated in LabView 6.0
If I do the same exercice in LabView 6.1 the second time I'm trying to
configure the .dll LabView.exe process crash.
Here is the output data from Microsoft Visual Studio .NET debbuging
processes tool when LabView.exe (Version 6.1) process crash:
'LabVIEW.exe': Loaded 'C:\WINNT\system32\PixeLINKAPI.dll', No symbols
loaded.
'LabVIEW.exe': Loaded 'C:\WINNT\system32\JPEGDLL32.dll', No symbols loaded.
First-chance exception at 0x77eab2f0 in LabVIEW.exe: Microsoft C++
exception: OutOfMemoryException @ 0x0012e0b0.
'LabVIEW.exe': Unloaded 'C:\Documents and Settings\miga\Desktop\MIGA
TEST\PixeLINK_Wrapper\PixeLINK_Wrapper\Debug\PixeLINK_Wrapper.dll'
'LabVIEW.exe': Unloaded 'C:\WINNT\system32\PixeLINKAPI.dll'
'LabVIEW.exe': Unloaded 'C:\WINNT\system32\JPEGDLL32.dll'
First-chance exception at 0x008f9526 in LabVIEW.exe: 0xC0000005: Access
violation reading location 0x00000000.
Unhandled exception at 0x008f9526 in LabVIEW.exe: 0xC0000005: Access
violation reading location 0x00000000.
It's doing it by configuring the Call Library Function node as UI Thread and reentrant. I don't need to execute the VI to get that crash, simply re-configuring the .dll the second time everything crash, so I don't resize any array...
Another way LabView crash is by configuring the Call Library Function Node, save the VI, close the VI without exiting LabView and then re-open the VI, LabView crash.
Can somebody help me on this one??????