View Single Post

  #1 (permalink)  
Old 12-06-2001
Anonymous Anonymous is offline
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
I am using Borland's C++Builder 4 to control MapPoint 2002. I call OLE functions using Variants. The following code used to work in MapPoint 2001...

Variant Way = Waypoints.OleFunction("Add", Pin, "My Waypoint");
Way.OlePropertySet("PreferredDeparture", "12:00");

MapPoint 2002 is now complaining about the time format. I've tried converting to a double with the value of 0.5 to simulate VB's Date type, but with no luck!
Reply With Quote