I have some problems when I want to access reference attributes or set layers.
I'd like to extract block reference information with c++ builder but don't know how to retreive this information from the variant array given by the getAttributes method.
My other problem is to set active layer with name. According to the manual the set_ActiveLayer method needs a variant that can be a string or integer. I cannot convert a c builder string to the appropriate variant.
I would be very thankful if somebody could help me to solve these problems.
Delphi code would also be appreciated.