Hello Dear Wireworkers
Actually I'm drawing Code (some vi's) which give me access to a
USB-Device. For this I'm using a dll which is provided by the
manufacturer. It works great. I can send and recieve the data really
fast. All the Basic Functions are woring properly.
Now there is a Function to read and write the Contents of the EEProm on
the Device. This DLL-Call wants a struct with some values in it. some
DWords, some Booleans... no problem. But It also wants 4 pointers to
strings.
As the only possibility to "simulate" a struct is creating a array of U8
in the right size and type-cast it to a cluster or pull the data out
myselfe, I'd get four pointers. This means I've got 4 32-Bit numbers
which describe the memory-location where to find the strings. But how do
I get the string in Labview?
Only idea i have is to write an own dll to which I give the pointers and
return the strings (I think I would need two ddl-calls. One to get the
size of the string, and the second one to get the string)
Is there another solution?
Thanx and bye
Marco
- Re: Pointer to Pointer from DLL Marco Tedaldi
- Re: Pointer to Pointer from DLL Rolf Kalbermatter
