Share
 
 

ObjectARX Signature Changes

In many cases, ObjectARX function signatures have been changed to use polymorphic types. For instance, long types that store pointers have been changed to the LONG_PTR pointer precision type. LONG_PTR remains long for 32-bit API usage and becomes __int64 in 64-bit builds. Similarly, types that represent legacy (or “old”) object IDs change from LONG_PTR to Adesk::Int-DbId. Graphics system (GS) and selection markers have been changed from int to Adesk::GsMarker.

The following list summarizes additional changes from 32-bit types to polymorphic types in ObjectARX function signatures:

  • Adesk::Int32 changes to Adesk::LongPtr
  • Adesk::UInt32 changes to Adesk::ULongPtr
  • DWORD changes to DWORD_PTR
  • unsigned long changes to ULONG_PTR
  • unsigned int changes to UINT_PTR

Was this information helpful?