Hi,
I've registered the Aspose.Pdf for .Net library for COM Interop as described in the Aspose.Pdf programmers guide. Now, when I #import the .tlb for this library in my C++ code, at compile time, it generated the .tlh and tli files. The .tlh file has a bunch of class signatures, without the corresponding functions in them. For e.g.:
struct__declspec(uuid("19dee04f-a99f-3c74-b498-c8a307b8da5e"))
_Document : IDispatch
{};
OR
struct
__declspec(uuid("cf2a0117-2ebd-346d-88e4-eb0beffc6f64"))
_Pdf : IDispatch
{};
I cannot access the functions in these classes without the function signatures present in the class signatures. How do I access the functions in these classes from my C++ code?
Why does the .tlh file not have the function signatures present in the class signatures? Aspose.Words.thl does not have this problem...it has all the function signatures in the class signatures. Why does Aspose.Pdf.tlh not have these too?
Thanks,
Saif Faruqui
Sr. Software Engineer
Freedom Scientific