Jump to content
Sign in to follow this  
Danyfirex

DllStructCreate (Size doubt)

Recommended Posts

Danyfirex

Hi mate. can someone Explain me why my structure is two byte larger that it should be.

I create this structure

$structura=DllStructCreate("Long;byte[550]")

I think the size is 554 bytes but when I use DllStructGetSize return 556 I don't understand why :S

Regards

Share this post


Link to post
Share on other sites
Danyfirex

Thank you so much JohnOne

it's solved

$structura=DllStructCreate("align 1;long;byte[550]")

Regards

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×