I'm also having problems using CoordSys.Set and omitting parameters. In VB you can just set the projection i.e. objCoordSys.Set 12
But in C++ MapX requires ALL of the parameters to be filled. So I have to know all Of the following parameters for WGS84 ... OBJECT.Set (Type, [Datum], [Units], [OriginLongitude], [OriginLatitude], [StandardParallelOne], [StandardParallelTwo], [Azimuth], [ScaleFactor], [FalseEasting], [FalseNorthing], [Range], [Bounds], [AffineTransform] ) Has anyone used this function in MapX and C++? Kind regards Tim -----Original Message----- From: Tim Smith Sent: 01 June 2004 11:17 To: MapInfo-L Subject: MI-L Setting the Datum Hello! Does anyone know what the datum value is for WGS84 when setting the datum in MapX with the CoordSys.Set method? The projection type is the first parameter and is defined in the mapx.h file as miLongLat. The problem is that the datums are not defined, you just pass a 'short' integer. The mapx help only goes as far as to say... "A Datum object or a supported datum number (such as 62 for the "NAD 27" datum for the Continental US)." Thanks for any help ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ --------------------------------------------------------------------- List hosting provided by Directions Magazine | www.directionsmag.com | To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Message number: 11981