Ask the Community
Ask questions, get advice from experts and peers on Digital Automation & Energy Management.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-03-11 01:58 AM . Last Modified: 2021-03-31 12:36 AM
Hello everyone,
I am having some problems that I cannot explained and I might think that is because data types and size in memory. So If anyone could tell me whether there is any case in which a DWORD can occupies more than 32bits or DWORD would always occupy 32bits no matter what.
Thanks in advanced.
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-03-11 10:18 PM
As you did not specify where you have the DWORD, a generic answer is that a DWORD is 32 bit.
However, in some applications, you may not always got the DWORD, so you may need to reserve or allocate more bytes, but I think that is special cases, normally it is 32 bit.
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-03-11 10:18 PM
As you did not specify where you have the DWORD, a generic answer is that a DWORD is 32 bit.
However, in some applications, you may not always got the DWORD, so you may need to reserve or allocate more bytes, but I think that is special cases, normally it is 32 bit.
Link copied. Please paste this link to share this article on your social media post.
Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.