Dear all,
 
I have a question regarding the use of MapX within Visual C++. This is my first day of MapX programming so any assistance would be greatly appreciated.
 
I have a problem passing non-variant types to Set Methods. For example:
 
The DisplayCoordSys.Set method requires parameter 2, the Datum, to be of VARIANT type. The problem is that Datums are represented by the CMapXDatum class, but these can't be cast to COleVariant (part of MFC). How can I set the datum property in DisplayCoordSys?
 
 
Many Thanks
 
 
 
Mark Jones
Saturn Technologies Ltd.
Ringwood
Hants
UK
 
 

Reply via email to