Hello,
There is a Labview module, and a labview DLL that activate some units.
I was asked to create a C DLL, so that the Labview module will call the C DLL and the last one will call the Labview DLL which will activate the unit. like this:
Main LabView modul --> C DLL --> LabView DLL --> unit
Now, the LabView DLL expects some strings IN and returns a string OUT, but when compiled all the strings became of type LStrHandle.
The C DLL receives from the Main LabView module the arguments for the functione in the Labview DLL and uses them (pass them on )in irder to activate the functions on the LabView DLL.
The problem (if I understood right)is that it works one way and crashes on the way back. It activates the unit but somewhere it crashes...
I think it has something to do with the LStrHandle type between DLLs.
Any Help?
Thanks,
Dikla.