Thread View: borland.public.delphi.vcl.components.using.dotnet
1 messages
1 total messages
Started by GabeCovert
Thu, 24 Jan 2008 17:13
Instantiating an object in Delphi .NET
Author: GabeCovert
Date: Thu, 24 Jan 2008 17:13
Date: Thu, 24 Jan 2008 17:13
18 lines
1832 bytes
1832 bytes
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!
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads