Datatype used

3 posts / 0 new
Last post
mritter0
mritter0's picture
Offline
Last seen: 2 years 7 months ago
Joined: 2014-04-21 21:15
Datatype used

Is there a way to see the name of the datatype that was used to load an image (or anything)?

IDataTypes->NewDTObject();
then
IDataTypes->GetDTAttrs(DTO,
GetNameTag, &buffer,
TAG_END);

thomas
thomas's picture
Offline
Last seen: 1 week 5 days ago
Joined: 2011-05-16 14:23
struct DataType
  1. struct DataType *dt;
  2.  
  3. GetDTAttrs (dto,
  4. DTA_DataType,&dt,
  5. TAG_END);
  6.  
  7. Printf ("%s\n",dt->dtn_Header->dth_Name);
mritter0
mritter0's picture
Offline
Last seen: 2 years 7 months ago
Joined: 2014-04-21 21:15
Thank you

Thank you

Log in or register to post comments