Well I would certainly go for the unsigned 8 bit array parameter
method. That is the best one and contrary to your claim does not
require any changes to the DLL. For the rest it is a good
recommendation and the most direct approach to do, what the OP has to
do.
Rolf Kalbermatter
I am having difficulties using a DLL with is returning a string will
nulls in the middle of it. I would be interested in seeing your
example of using lstrcpyn from kernel32.dll or any other examples that
you may have?
Regards
Jimbo
Minty wrote:
> Does anyone know the equivalent data type (when using the Call Library
> Function Node in LabView 7 Express) to an unsigned char?
For which platform and API? The types LabVIEW shows are the fundamental
C types each C compiler should understand properly and means the same
Minty wrote:
> Thanks for the reply Rolf.
>
> The platform is Win2k and the API is Win32.
>
> Thanks for your help.
>
> Minty
WinAPI uses a number of types which are sometimes identical but the
mostly used type which would correspond with unsigned char would be
BYTE and UCHAR.
Rolf K