Beiträge von sdauk

    Thanks - we already rename it as SDAwPDF2.dll to save conflicts with any other installed copy. I had assumed that somewhere in the API there was a way to do confirm the location but if not I guess the best answer is to follow the same search process as Windows until the file is found viz (courtesy of MSDN):

    1. The directory where the executable module for the current process is located.
    2. The current directory.
    3. The Windows system directory. The GetSystemDirectory function retrieves the path of this directory.
    4. The Windows directory. The GetWindowsDirectory function retrieves the path of this directory.
    5. The directories listed in the PATH environment variable.

    Tony Bryer SDA UK

    Is there a way of finding out where the wPDF DLL being used by a program is located. I want to create a 'files used by this program' list and although I know where it should have been installed it's not totally impossible that a user could have moved it to the Windows System directory or somewhere else?

    TYIA

    Tony Bryer SDA UK

    I asked about this some months ago but didn't get a reply. The latest source code includes the following:

    TWPDFEncryption = set of
    (wpEncryptFile, wpEnablePrinting, wpEnableChanging, wpEnableCopying, wpEnableForms ,wpLowQualityPrintOnly

    {,wpEnableDocAssembly,wpEnableFormFieldFillIn,
    wpEnableAccessibilityOp
    - not possible in PDF security 1 and 2, 3 is unpublished } );

    Can you unpick the last comment please. We use wPDF to great effect in our structural engineering apps and have no problems with them being able to use the PDF produced by us into a larger document (which AIUI is precisely what DocAssembly allows) but do not want users to be able to modify or copy the content. IOW our ideal permissions would be EnablePrinting and EnableDocAssembly only

    Tony Bryer, Survey Design Associates Limited
    'Software to build on' http://www.sda.co.uk

    How easy is it to add Document Assembly to the list of user permissions. We want to disallow copying and changing but have no problems with users taking the PDF output from our apps and merging it with (say) another PDF from a Word document.

    TYIA

    TonyB