Import Aspose.Slides in Delphi 2010 or Delphi XE2

Hello,

when I try to import the .NET component Aspose.Slides.dll using the tlibimp.exe I receive the following error:

‘type member.setname :slight_smile:1’ is not a valid name

We need to use the component trough Delphi and we are doing our test with it.

When I try to use the IDE the process completes without any message and the *_TLB.pas file is not created.

There are also strange messages when you run the regasm with the codebase parameter about private member being exported.

We need this solved ASAP,
thank you,
Tommaso Ercole

Hi Tommaso,


Thanks for your interest in Aspose.Slides.

I like to share that an issue with ID SLIDESNET-19893 has already been created to provide the Dephi support with Aspose.Slides. I have requested our development team to further investigate the issue and share their response. I will share the information with you as soon as information will be shared by our development team.

Many Thanks,

Hi Mudassir,

we are in a hurry with the tests and this is quite blocking.

With Ole Viewer, .NET Reflector and the Delphi RIDL Editor I tryed to fill the missing parts that are giving error while converting (I think there are three struct that have all private fields that are being exported uncorrectly).

I attached what I have been able to create, can you check it for me? I noticed inside many interfaces are empty and this should not be the case right?

Hi Tommaso,


I have discussed with our development team and regret to share that currently Aspose.Slides for .NET does not support COM technology thus accessing it by using tlbimp.exe is not supported yet. We have a separate issue already added with ID SLIDESNET-30297 for proving com support in Aspose.Slides for .NET and it has been scheduled for the end of Q4’2012.

However, one workaround that may or may not work has been suggested by our development team. i.e. you may implement some kind of a bridge - a .NET assembly which exposes customized COM interfaces to Delphi program and references Aspose.Slides.dll for working with PowerPoint presentations. However, we are not sure whether this approach may work or not presently.

We are sorry for your inconvenience,