Beiträge von rioka

    I have a problem using wpdfControl dll, version 2.5.6.2.

    When I set the page size via WPDF_StartPageEx(x, y, 0), I actually get the desired page size in the resulting document.
    But when I try to retrieve the current page size via
    GetDeviceCaps(wpdf_DC(), HORZRES),
    I don't get the size I've previously set via StartPageEx. Instead it seems GetDeviceCaps returns a value corresponding to a A4 paper, which is the default paper size for the printer. This is the same whatever (x,y) values I pass to StartPageEx.

    So the question is: why GetDeviceCaps does not return the correct result for HORZRES and VERTRES?

    Hi

    We've downloaded some weeks ago the evaluation version of PDFControl.
    We're using the DLL, not the ActiveX.
    We did some investigations about providing PDF functionalities in our application, and then, when we realized it could be easily integrated, we purchased it (last week).

    Surprisingly, we've noticed that the full product does not work the same way the evaluation works. Specifically, the generated DC seems to be based on the default printer (working with the eval version), whereas it's based on the display when working with the full version. Is this correct? If so, is there a way to get the full version works like the eval version (we've already written and tested many routines working fine with the eval version, and would like not to rewrite/test them again)?

    We noticed this simply swapping the loaded DLL (via a command line switch), from within the same executable (so no changes to source code, except for the parameter to LoadLibrary and the call to SetLicenseKey).

    One more note: wPDFControlDemo.dll has is version 2.3.7.1, while the downloaded full version wPDFControl02.dll is 2.3.7.0.

    TIA