Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - 1Byte vs. 8Bytes Struct Member Alignment
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

1Byte vs. 8Bytes Struct Member Alignment

 Post Reply Post Reply
Author
Message
Frode View Drop Down
Groupie
Groupie


Joined: 22 April 2004
Location: Norway
Status: Offline
Points: 42
Post Options Post Options   Thanks (0) Thanks(0)   Quote Frode Quote  Post ReplyReply Direct Link To This Post Topic: 1Byte vs. 8Bytes Struct Member Alignment
    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...

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.064 seconds.