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

Memory alignment problem with CVI 2013

$
0
0

Hi,

 

I've just installed CVI 2013 coming from CVI 2010 and, opening my old projects, I'm getting in troubles with the memory alignement.

Not in all the projects I open I get the problem, and I'm quite confused about it.

I was used to keep memory aligned with 1 byte boundary and I have thousands and thousands of file saved with this method.

I have prepared a very simple project (attached to this post) to show you the problem, consider that with CVI 2010 the result would have been "5 bytes occupation".

 

Does pragma pack() change its behaviour?

Is there any flag to set into the Options menu or somewhere else?

 

If anybody has a suggestion please help me.

Thanks

Sergio

 


Viewing all articles
Browse latest Browse all 5339

Trending Articles



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