Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Instantiating an object in Delphi .NET

1 view
Skip to first unread message

GabeCovert

unread,
Jan 24, 2008, 12:13:48 PM1/24/08
to
I'm am attempting to implement a third-party library, and it looks
like their .NET interface is going to be the best way, but I've not
used Delphi .NET yet.

I am trying to instantiate an object, but can't figure out how,
exactly... Normally, I would use the .Create method of the third-
party object, but there doesn't seem to be one.

In the company's C# example, the object is declared thusly:

private iCamIrisClass m_iCamIris;

m_iCamIris = new iCamIrisClass();

I've got the declaration in my Delphi app, that was easy enough. How
do I do the instantiation? If I try new, Delphi gives me errors.

Thanks in advance!

0 new messages