Home > Back-end >  TagSAFEARRAY couldn't read the data, SafeArrayAccessData the return value is a success, but the
TagSAFEARRAY couldn't read the data, SafeArrayAccessData the return value is a success, but the

Time:05-16

TagSAFEARRAY * wave=PTR - & gt; GetWavelengths (0);
Double * pData=https://bbs.csdn.net/topics/new double [2048];
SafeArrayAccessData (wave, (void HUGEP * *) & amp; PData);
Double Item=pData [10].
Edit2 - & gt; Text=Item;

Code above information return address conflict, don't know where the problem is

CodePudding user response:

If the array access cross-border access violation error may arise, also don't know your array is enough big,
  • Related