MS V8 & Point3d & Delphi 4

MS V8 & Point3d & Delphi 4

Post by b0bi » Wed, 23 Mar 2005 21:12:10


Hi

I'd like to ask u if there is any way to use a Point3d object in
Delphi 4,

without using type library ? I'm creating the instance of MicroStation
application using:

OLECAD := CreateOLEObject('MicroStationDGN.Application');

And I want to get point from object CadInputMessage, but it doesn't
work:

var P : OLEVariant; X : Double;


P := CadInputMessage.Point; <-- it works, but how to get X value of P
?

X := CanInputMessage.Point.X; <-- it fails, why ?