Stephen,
Let say you have a string. So the output of the DLL is a pointer to the
string. In the Call Library you can select the output as a pointer to string
(the output will change into a string!). Now you can just wire the output
(sting) to a string indicator. If you want to place the text (on the
location of the pointer to the sting) in a control, use a local variable of
the control.
Same applies to arrays.
Hope this helpes,
Wiebe Walstra.
--
AIR technical Automation
www.air.nl
"Stephen Gray"
wrote in message
news:3A4B7425.A7BC07EF@swri.org...
I'm trying to use the call library function to call a Windows DLL
function. (specifically RtlMoveMemory in kernel32.dll). This function
basically operates like memcpy. It copies from one memo
ry location to
another. This function needs a pointer to the destination, a pointer to
the source and a size argument. I have the address for the source in a
control in my VI so I pass that by value.
My question is...How do i tell the function that the destination is an
indicator/control on my VI? How can I pass a pointer to a
control/indicator on my VI? I have tried wiring a control to the Call
Library input for the destination argument with the Pass Value and Pass
Pointer to Value. Neither of these have worked.
If this is all confusing and makes no sense, here is a simple
explanation of what I am trying to do:
Copy data from a known address in memory to a control/indicator on my
VI.
Thanks,
Stephen