06-10-2010 03:54 PM
Hi
I am just créating a LabVIEW library for a driver Dll. The Dll contains some complex structs. I just would like to know if I can get around creating a wrapper Dll for these calls.
This is an example of one function call:
Error AA_querySlaveInfo(Handle hSlave, SlaveInfo* pSlaveInfo,
int flags);
typedef struct {
int vendorId;
int productId;
int revision;
int serial;
const char* group;
const char* image;
const char* order;
const char* name;
int objCount;
DataObjInfo* objs[1];
} SlaveInfo;
typedef struct {
int objType;
const char* name;
int bitLength;
} DataObjInfo;
Help is very much aprechiated.
Thanks
Solved! Go to Solution.
06-14-2010 09:05 AM
Hi Keppi,
its not possible, sorry. Without the last entry in the struct it would work, but that pointer to the other struct... you'll need a wrapper for that!
I hope that helps,
RMathews
06-14-2010 05:35 PM
Oh well, I thought so..
So thanks for confirming my misery 🙂