Use COM interfaces with C

[Top]  [Chapter]  [Previous]  [Next]

In case you intend to use the new COM interfaces with standard C this is possible, too.

 

Please use the TLB import of your development tool and execute it with the wPDF01.OCX.

 

We have added this methods to the wrapper class to provide you with IWPEditor, IWPAttrInterface, IWPPDFCreator and IWPReport interfaces.

 

void *CPDFExport::_Memo()

{

    return (void *)wpdfExecCommand(pdfenv,13010,0,0);

}

 

void *CPDFExport::_Memo2()

{

    return (void *)wpdfExecCommand(pdfenv,13020,0,0);

}

 

void *CPDFExport::_AttrHelper()

{

    return (void *)wpdfExecCommand(pdfenv,13070,0,0);

}

 

void *CPDFExport::_PDFCreator()

{

    return (void *)wpdfExecCommand(pdfenv,13030,0,0);

}

 

void *CPDFExport::_Report()

{

    return (void *)wpdfExecCommand(pdfenv,13040,0,0);

}

 

In case you have difficulties to import the TLB please let us know.


[use_com_interfaces_with_c.htm]    Copyright © 2007 by WPCubed GmbH