Labview <--> Visual C++ 6.0 types?
Labview <--> Visual C++ 6.0 types?
(OP)
Hi all!
Where can I find that types in Labview are equvivalent with which type in Visual C++ (6.0)? Exactly I mean these labview types:
long, CStr, unsigned short in, unsigned char
I've tried some kind of variations but I couldn't manage with them..:S
Where can I find that types in Labview are equvivalent with which type in Visual C++ (6.0)? Exactly I mean these labview types:
long, CStr, unsigned short in, unsigned char
I've tried some kind of variations but I couldn't manage with them..:S





RE: Labview <--> Visual C++ 6.0 types?
long DevNew(Cstr arg1, CStr arg2, unsigned short int arg3);
long DevWrite(unsigned char arg1, CStr arg2, long arg3);
long DevRead(unsigned char arg1, CStr arg2, long arg3);
long DevDel(unsigned char arg1);
And here is how I try to use them in Visual C:
typedef signed __int32 (*DevNewptr)(char* ipaddress, char* devicename, unsigned __int16 buffersize);
typedef signed __int32 (*DevWriteptr)(unsigned __int8 DevIdxOut, char* Data, signed __int32 Size);
typedef signed __int32 (*DevReadptr)(unsigned __int8 DevIdxOut, char* ReadBuffer, signed __int32 pm);
typedef signed __int32 (*DevDelptr)(unsigned __int8 DevIdxOut);
I suppose there most be something wrong with the char* 'cause the other paramaters were mentioned as shown, only the CStr types mean string what I translated into char*...