[DUG] Access a .net assembly via COM

Jeremy North jeremy.north at gmail.com
Tue Aug 3 15:57:11 NZST 2010


Is there only two classes in the assembly or do others also import
successfully? Could be a bug in the importer. Do you know the base
class of the class that is failing to import correctly.

If you have SA, you might want to use one of your free support incidients.

On Tue, Aug 3, 2010 at 1:50 PM, Robert martin <rob at chreos.co.nz> wrote:
> What can I do if that is the case?
>
> The dev kit ships with a .tlb as well and importing this also fails (i.e. no
> methods for aClass).  The assembly is not globally installed (we have to
> click the 'add' button), should fully installing it fix the import issue?
>
>
>
> Cheers
>
>
>
>
>
> On 3/08/2010 3:45 p.m., Jeremy North wrote:
>
> Probably nothing. Sounds like it isn't importing correctly.
> On Tue, Aug 3, 2010 at 1:30 PM, Robert martin <rob at chreos.co.nz> wrote:
>
>
> Hi
> I have a co worker who is struggling to import a .Net assembly provided
> by a 3rd party to use in a D2007 project.  he chooses 'Import .Net
> Assebly in the 'import component' screen and uses the 'add' button to
> add it.  It creates a _Tlb as expected but some class details are not
> present.
> We need to be able to go
> aClass := coaClass.create;
> bClass := aClass.CreatebClass;
> etc
> bClass is defined with methods but aClass is present but empty of
> methods.  What are we doing wrong?
> Cheers
> Rob
> _______________________________________________
> NZ Borland Developers Group - Delphi mailing list
> Post: delphi at delphi.org.nz
> Admin: http://delphi.org.nz/mailman/listinfo/delphi
> Unsubscribe: send an email to delphi-request at delphi.org.nz with Subject:
> unsubscribe
>
>
> _______________________________________________
> NZ Borland Developers Group - Delphi mailing list
> Post: delphi at delphi.org.nz
> Admin: http://delphi.org.nz/mailman/listinfo/delphi
> Unsubscribe: send an email to delphi-request at delphi.org.nz with Subject:
> unsubscribe
>
>
> _______________________________________________
> NZ Borland Developers Group - Delphi mailing list
> Post: delphi at delphi.org.nz
> Admin: http://delphi.org.nz/mailman/listinfo/delphi
> Unsubscribe: send an email to delphi-request at delphi.org.nz with Subject:
> unsubscribe
>



More information about the Delphi mailing list