Hi
I was trying to use Aspose Cell .Net from Python via COM Interop.
In the documentation I only found an out-of-date example in the
following page:
- http://www.aspose.com/docs/display/cellsnet/Python+via+COM+Interop
1. Is there any documentation page with the COM objects interfaces
explained? I was reading the .TLB file but some method takes as
parameter generic interfaces like IUnknown so it’s difficult to
determine which kind of COM object they really expect.
2. Is there any page with updated examples about how to use Aspose from
Python?
3. Do you offer some specific and reliable kind of paid support for
developing a commercial Python application?
4. Is there any limitation using Aspose from Python regarding to use it
from other .NET languages, like C#?
Thanks in advance
Hi,
Thanks for your posting and considering Aspose.Cells.
If
you want to use Aspose.Cells from unmanaged C++ (using COM) or Python, then we
recommend you to make a wrapper assembly and then call your own assembly
from C++/COM/Python.
For example, you can create a function inside the wrapper assembly
void ProcessRequest()
{
//all of your code using Aspose.Cells goes here
}
Then from unmanaged C++/COM or ASP/Python, you call this function instead of directly calling Aspose.Cells from C++/COM/ASP/Python.
Creating a Wrapper Assembly
If
you need to use many of the Aspose.Cells classes, methods and
properties, consider creating a wrapper assembly (using C# or any other
.NET programming language), that will help to avoid using Aspose.Cells
directly from unmanaged code.
A good approach is to develop a
.NET assembly that references Aspose.Cells and does all the work with
it, and only exposes the minimal set of classes and methods to unmanaged
code. Your application then should work just with your wrapper library.
Reducing
the number of classes and methods that you need to invoke via COM
Interop could simplify your project, because using .NET classes via COM
Interop often requires advanced skills.
You can research on internet how you can create such a wrapper assembly which could be used in C++/COM/ASP/Python. One such article is this
( Build and Deploy a .NET COM Assembly - Simple Talk )
Besides, we now recommend C++/ASP/Python users to use Aspose.Cells for Cloud (REST based
APIs). Because these APIs can be used in any platform and languages.
Please also read the following product pages to get familiar with the Cloud APIs.