Please post questions about MDL, C++ and the MicroStationAPI to the MicroStation Programming Forum. You'll receive more focussed attention than in this more generic Forum.
Regards, Jon Summers LA Solutions