Quantcast
Channel: LabWindows/CVI topics
Viewing all articles
Browse latest Browse all 5417

Dereference of object

$
0
0

I'm getting a fatal run-time error when I debug a program in CVI 2013 that worked fine in CVI 2012. I get this message: Dereference of a 4 byte object where only 2 bytes exist. This happens when accessing the last structure in every array. I have a structure that contains two unsigned char items. I then have an array of these structures. The error is generated when the program tries to write to the last structure in the array. If I increase the array by one then works.


Viewing all articles
Browse latest Browse all 5417

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>