Print Page | Close Window

1Byte vs. 8Bytes Struct Member Alignment

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=3807
Printed Date: 10 November 2025 at 3:22am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: 1Byte vs. 8Bytes Struct Member Alignment
Posted By: Frode
Subject: 1Byte vs. 8Bytes Struct Member Alignment
Date Posted: 17 March 2006 at 11:07am
We need to use 1Byte Struct Member Alignment in our applications.
What is the best way to use Codejock Toolkit Pro (which is based on  8Bytes Struct Member Alignment) with our applications - static linking, dynamic linking...?

Today we are using the following method in StdAfx.h:
    #define _XTP_STATICLINK
    #pragma pack(push, 8)
        #include <XTToolkitPro.h>
    #pragma pack(pop)

But, we would like to use dynamic linking...




Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net