Quantcast
Channel: MicroStation Programming Forum - Recent Threads
Viewing all articles
Browse latest Browse all 7260

[CONNECT C++] How big is an Associative Point?

$
0
0

MicroStationAPI header file DgnPlatform.h declares the AssocPoint struct...

struct AssocPoint
    {
    UShort      buf[20];
    };

MicroStationAPI header file DependencyManagerLinkage.h provides this macro...

#define SIZEOF_ASSOCPOINT    40     //!< The size of an AssocPoint

If I want to reserve or allocate space for an AssocPoint, should I use sizeof(AssocPoint) or SIZEOF_ASSOCPOINT?  I guess that they are the same, so why does SIZEOF_ASSOCPOINT exist?


Viewing all articles
Browse latest Browse all 7260

Trending Articles



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