Re: How can I get an unsigned char string with nulls from a dll into LabVIEW 6i?

2004-05-04 Thread rolfk
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

Re: How can I get an unsigned char string with nulls from a dll into LabVIEW 6i?

2004-05-03 Thread lvjimbo
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

Re: unsigned char?

2004-04-20 Thread Rolf
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

Re: unsigned char?

2004-04-20 Thread Rolf
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