Thanks Greg,
I wired a string constant containing at least 50 characters to the input of the
Library node, and that got rid of my crashing-problems.
Patrick Pol
Greg McKaskle wrote:
> I believe that your problem here is that you told the C compiler that there
> were 50 characters reserved for the function to write in. A caller of this
> function will need to allocate storage for the DLL function to scribble into,
> or this will be a possible crash/corruption.
>
> The same thing is true of LV. The caller, in this case, LV has no idea
> how much space to allocate for the DLL call. You will need to do this
> on the diagram using a constant, a control, or some other function that
> produces a string large enough to store the data into.
>
> Greg M
cKaskle