Got the same problem!!!
Can someone please tell me what is wrong with the following code?
typedef struct
{
int32 dimSize;
float64 Numeric[1];
} TD1;
typedef TD1 **TD1Hdl;
MgErr CINRun(TD1Hdl *Array);
MgErr CINRun(TD1Hdl *Array)
{
int32 size = (**Array)->dimSize;
return noErr;
}
Every single time, when trying to acces the array, Dev Studio generates the following error:
Unhandled exception in
Labview.exe (LVS73.TMP) : 0XC0000005: Access Violation.
Whats the deal ??? The input array is not even empty!
Thanks...
SW used :
- VC++ 5.0
- Labview 7 Express - Student edition
- Windows XP Professional SP2